From 2bead6c17f25470781e407b2cb96dde6cbed0e56 Mon Sep 17 00:00:00 2001 From: vitalyster Date: Tue, 2 Jul 2013 16:59:33 +0400 Subject: [PATCH] Twitter backend: increase poll interval to 90 seconds --- backends/twitter/TwitterPlugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/twitter/TwitterPlugin.cpp b/backends/twitter/TwitterPlugin.cpp index 91e400e6..5366042b 100644 --- a/backends/twitter/TwitterPlugin.cpp +++ b/backends/twitter/TwitterPlugin.cpp @@ -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));