Fix column name ucid in jobs

pull/394/head
Omar Roth 6 years ago
parent 64cfd2296c
commit 96c09450b8

@ -157,7 +157,7 @@ def subscribe_to_feeds(db, logger, key, config)
if config.use_pubsub_feeds if config.use_pubsub_feeds
spawn do spawn do
loop do loop do
db.query_all("SELECT ucid FROM channels WHERE subscribed = false") do |rs| db.query_all("SELECT id FROM channels WHERE subscribed = false") do |rs|
ucid = rs.read(String) ucid = rs.read(String)
response = subscribe_pubsub(ucid, key, config) response = subscribe_pubsub(ucid, key, config)

Loading…
Cancel
Save