Twitter backend: increase poll interval to 90 seconds
This commit is contained in:
parent
a376e04de6
commit
2bead6c17f
1 changed files with 2 additions and 2 deletions
|
@ -76,8 +76,8 @@ TwitterPlugin::TwitterPlugin(Config *config, Swift::SimpleEventLoop *loop, Stora
|
|||
|
||||
tp = new ThreadPool(loop_, 10);
|
||||
|
||||
tweet_timer = m_factories->getTimerFactory()->createTimer(60000);
|
||||
message_timer = m_factories->getTimerFactory()->createTimer(60000);
|
||||
tweet_timer = m_factories->getTimerFactory()->createTimer(90000);
|
||||
message_timer = m_factories->getTimerFactory()->createTimer(90000);
|
||||
|
||||
tweet_timer->onTick.connect(boost::bind(&TwitterPlugin::pollForTweets, this));
|
||||
message_timer->onTick.connect(boost::bind(&TwitterPlugin::pollForDirectMessages, this));
|
||||
|
|
Loading…
Add table
Reference in a new issue