Navigation Menu

Skip to content

Commit

Permalink
Merged in chriadam/base-sociald (pull request #5)
Browse files Browse the repository at this point in the history
[sociald] Use realistic intervals for sync - JB#4933
  • Loading branch information
Chris Adams committed Apr 23, 2013
2 parents 000c012 + 84112ac commit f62915c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rpm/sociald.spec
@@ -1,6 +1,6 @@
Name: sociald
Summary: Syncs device data from social services
Version: 0.0.2
Version: 0.0.3
Release: 1
Group: System/Applications
License: TBD
Expand Down
4 changes: 2 additions & 2 deletions src/syncservice.cpp
Expand Up @@ -118,7 +118,7 @@ SyncServicePrivate::SyncServicePrivate(SyncService *parent)
// Notifications
{
QTimer *fbnt = new QTimer(this);
fbnt->setInterval(SOCIALD_POLLING_INTERVAL_DEBUG);
fbnt->setInterval(SOCIALD_POLLING_INTERVAL_1_HOUR);
fbnt->setSingleShot(false);
fbnt->setProperty("socialService", QLatin1String("facebook"));
fbnt->setProperty("dataType", SyncService::dataType(SyncService::Notifications));
Expand All @@ -131,7 +131,7 @@ SyncServicePrivate::SyncServicePrivate(SyncService *parent)
// Images
{
QTimer *fbit = new QTimer(this);
fbit->setInterval(SOCIALD_POLLING_INTERVAL_DEBUG);
fbit->setInterval(SOCIALD_POLLING_INTERVAL_6_HOURS);
fbit->setSingleShot(false);
fbit->setProperty("socialService", QLatin1String("facebook"));
fbit->setProperty("dataType", SyncService::dataType(SyncService::Images));
Expand Down

0 comments on commit f62915c

Please sign in to comment.