Skip to content

Commit

Permalink
The notification service now only uses the hearbeat timer
Browse files Browse the repository at this point in the history
By relying on the periodic timer only notifications are checked every 6 minutes, checking every minute is too frequent battery-wise imho
Removed a debugging line in TweetSheet
  • Loading branch information
SimoDax committed Nov 29, 2020
1 parent 36a9705 commit acbdadb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions Bird10/assets/TweetSheet.qml
Original file line number Diff line number Diff line change
Expand Up @@ -954,8 +954,5 @@ Sheet {
authenticator: o1Twitter
}
]
onCreationCompleted: {
console.debug(twitterApi)
}
}
}
2 changes: 1 addition & 1 deletion Bird10HeadlessService/src/service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ void Service::handleInvoke(const bb::system::InvokeRequest & request)
}

// Register timer and check for notifications
registerTimer();
// registerTimer();
checkNotifications();
}
else if(request.action().compare("com.simodax.Bird10HeadlessService.STOP") == 0){
Expand Down

0 comments on commit acbdadb

Please sign in to comment.