Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#36 Proximity command called twice in each interval

open
nobody
None
5
2014-12-11
2009-05-06
No

«««
While investigating an unrelated issue, I found that blueproximity calls the proximity command twice as often as configured.

Steps to reproduce:
- In Preferences > Locking enter this "Proximity command:"
date>>/tmp/proximity-runs.log
- Set the Command Interval to a small value (e.g. 60 seconds)
- Watch that log file

I would expect to see a timestamp every ~50 seconds... instead I see two. Here's my specific result:

Fri Jan 2 01:52:07 CET 2009
Fri Jan 2 01:52:25 CET 2009
Fri Jan 2 01:53:07 CET 2009
Fri Jan 2 01:53:25 CET 2009
Fri Jan 2 01:54:08 CET 2009
Fri Jan 2 01:54:24 CET 2009
Fri Jan 2 01:55:08 CET 2009
»»»

Please see https://bugs.launchpad.net/ubuntu/+source/blueproximity/+bug/313040 . A patch is provided there.

Discussion