Changed controller listener interval for Linux to reduce cpu usage
This commit is contained in:
parent
37ef792024
commit
894997d8f0
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ void TellStick::run() {
|
||||||
|
|
||||||
while(1) {
|
while(1) {
|
||||||
//Is there any better way then sleeping between reads?
|
//Is there any better way then sleeping between reads?
|
||||||
usleep(1000);
|
msleep(100);
|
||||||
TelldusCore::MutexLocker locker(&d->mutex);
|
TelldusCore::MutexLocker locker(&d->mutex);
|
||||||
if (!d->running) {
|
if (!d->running) {
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue