mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Upgrading celery just in case it's causing priority loss.
This commit is contained in:
parent
48d0afd6a2
commit
1387d7cfc4
4 changed files with 5 additions and 5 deletions
|
@ -79,8 +79,8 @@ MONGODB_SLAVE = {
|
|||
}
|
||||
|
||||
# Celery RabbitMQ/Redis Broker
|
||||
CELERY_REDIS_HOST = "127.0.0.1"
|
||||
BROKER_URL = "redis://127.0.0.1:6379/0"
|
||||
CELERY_RESULT_BACKEND = BROKER_URL
|
||||
|
||||
REDIS = {
|
||||
'host': '127.0.0.1',
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
// #define BACKGROUND_REFRESH_SECONDS -5
|
||||
#define BACKGROUND_REFRESH_SECONDS -10*60
|
||||
|
||||
// #define NEWSBLUR_URL [NSString stringWithFormat:@"nb.local.com"]
|
||||
#define NEWSBLUR_URL [NSString stringWithFormat:@"www.newsblur.com"]
|
||||
#define NEWSBLUR_URL [NSString stringWithFormat:@"nb.local.com"]
|
||||
// #define NEWSBLUR_URL [NSString stringWithFormat:@"www.newsblur.com"]
|
||||
|
||||
#define NEWSBLUR_LINK_COLOR 0x405BA8
|
||||
#define NEWSBLUR_HIGHLIGHT_COLOR 0xd2e6fd
|
||||
|
|
|
@ -314,7 +314,7 @@ CELERY_QUEUES = {
|
|||
CELERY_DEFAULT_QUEUE = "work_queue"
|
||||
BROKER_BACKEND = "redis"
|
||||
BROKER_URL = "redis://db01:6379/0"
|
||||
CELERY_REDIS_HOST = "db01"
|
||||
CELERY_RESULT_BACKEND = BROKER_URL
|
||||
|
||||
CELERYD_PREFETCH_MULTIPLIER = 1
|
||||
CELERY_IMPORTS = ("apps.rss_feeds.tasks",
|
||||
|
|
|
@ -58,7 +58,7 @@ class FetchFeed:
|
|||
modified = None
|
||||
etag = None
|
||||
|
||||
USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/536.2.3 (KHTML, like Gecko) Version/5.2 (NewsBlur Feed Fetcher - %s subscriber%s - %s)' % (
|
||||
USER_AGENT = 'NewsBlur Feed Fetcher - %s subscriber%s - %s (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/536.2.3 (KHTML, like Gecko) Version/5.2)' % (
|
||||
self.feed.num_subscribers,
|
||||
's' if self.feed.num_subscribers != 1 else '',
|
||||
settings.NEWSBLUR_URL
|
||||
|
|
Loading…
Add table
Reference in a new issue