Twitter backend: increase poll interval to 90 seconds

This commit is contained in:
vitalyster 2013-07-02 16:59:33 +04:00
parent a376e04de6
commit 2bead6c17f

View file

@ -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));