Bump version

This commit is contained in:
Simon Stürz 2017-12-01 07:57:40 +01:00 committed by Michael Zanetti
parent 3b19f2317a
commit 81c6dc77e7
3 changed files with 29 additions and 4 deletions

7
debian/changelog vendored
View File

@ -1,8 +1,9 @@
guh (0.8.1+201711270858~ecd6840~xenial) UNRELEASED; urgency=medium
guh (0.8.2) xenial; urgency=medium
*
* New hardware manager api
* Introduce push button authentication
-- <timon@guh-guh-builder-xenial-amd64-amd64.lxd> Mon, 27 Nov 2017 07:58:39 +0000
-- Simon Stürz <simon.stuerz@guh.io> Fri, 01 Dec 2017 07:56:26 +0100
guh (0.8.1) xenial; urgency=medium

View File

@ -118,7 +118,30 @@ PluginTimer *PluginTimerManager::registerTimer(int seconds)
QPointer<PluginTimer> pluginTimer = new PluginTimer(seconds, this);
qCDebug(dcHardware()) << "Register timer" << pluginTimer->interval();
// TODO: start timer depending on the schedule from other timers, loadbalancing
// TODO: schedule timer for load balancing
// // Get min/max timer interval
// PluginTimer *shortestTimer = nullptr;
// PluginTimer *longestTimer = nullptr;
// foreach (PluginTimer *timer, m_timers) {
// if (!shortestTimer && !longestTimer) {
// shortestTimer = timer;
// longestTimer = timer;
// continue;
// }
// if (timer->interval() < shortestTimer->interval()) {
// shortestTimer = timer;
// continue;
// }
// if (timer->interval() > longestTimer->interval()) {
// longestTimer = timer;
// continue;
// }
// }
m_timers.append(pluginTimer);
return pluginTimer.data();

View File

@ -68,6 +68,7 @@ public slots:
void reset();
void start();
void stop();
};