Refactor refresh_feeds

This commit is contained in:
Omar Roth 2019-05-27 14:48:57 -05:00
parent c07ad0941c
commit ad09e734da
No known key found for this signature in database
GPG key ID: B8254FB7EC3D37F2
3 changed files with 59 additions and 35 deletions

View file

@ -129,8 +129,8 @@ end
# Start jobs
refresh_channels(PG_DB, logger, config.channel_threads, config.full_refresh)
refresh_feeds(PG_DB, logger, config.feed_threads, config.use_feed_events)
refresh_channels(PG_DB, logger, config)
refresh_feeds(PG_DB, logger, config)
subscribe_to_feeds(PG_DB, logger, HMAC_KEY, config)
statistics = {