Excerpt |
---|
The |
Table of Contents
Table of Contents | ||||
---|---|---|---|---|
|
...
The source manager implements the polling behavior. The behavior is configured in the two sections source_manager
and source_manager_web
(for news and web sources respectively) with the following keys.
...
Code Block | ||
---|---|---|
| ||
[source_manager] check_delay = {"minutes": 1} max_error_delay = {"days": 3} success_delay = {"minutes": 15} max_success_delay = {"hours": 12} [source_manager_web] check_delay = {"days": 1} max_error_delay = {"days": 7} success_delay = {"days": 1} max_success_delay = {"days": 3} |
...
Result Size Limiting
The number of results that are loaded for new sources is configured in configuration.ini using the provider.bing.prefetch_size
option.
Securing the Bing Provider
The Bing Provider relies on MySql Server MySQL Server to store information about searches and search histories. To connections to MySql rely Connecting to MySQL relies on a MySql user MySQL user called "bing" configured with a default password. To modify the password, please follow these steps.
- Generate a password. Lets refer to the generated password as $PASSWORD
First configure the password in /etc/squirro/bing.ini like so:
Code Block title /etc/squirro/bing.ini [bing] db = mysql://bing:$PASSWORD@localhost/bing?charset=utf8
Next you would modify the password within MySql serverMySQL server:
Code Block language bash sudo su mysql -e "SET PASSWORD FOR bing = PASSWORD(\"$PASSWORD\")"
Restart the Squirro Bing Provider service like so;:
Code Block language bash service sqbingd restart
...