Commit Graph

7730 Commits

Author SHA1 Message Date
Clint Armstrong
9f1c2232f0 update every minute 2015-08-25 11:35:21 -04:00
Clint Armstrong
4d832067a9 change to 2 minute updates 2015-08-25 11:35:20 -04:00
Clint Armstrong
c3b6fee0eb bad sql 2015-08-25 11:35:20 -04:00
Clint Armstrong
5672afd0a8 test for null last_attempted 2015-08-25 11:35:20 -04:00
Clint Armstrong
e68bebbc62 bad index 2015-08-25 11:35:20 -04:00
Clint Armstrong
6c5f71bbb5 remove queue locks on empty query 2015-08-25 11:35:20 -04:00
Clint Armstrong
4a66720969 release lock for 1 device 2015-08-25 11:35:20 -04:00
Clint Armstrong
c35a1ea750 don't loop too fast 2015-08-25 11:35:19 -04:00
Clint Armstrong
d23bed0af7 don't check dont-retry' 2015-08-25 11:35:19 -04:00
Clint Armstrong
f12725fc81 store last attempted in sql for simpler down_retry 2015-08-25 11:35:19 -04:00
Clint Armstrong
01b7648136 add last_poll_attempted column to devices table 2015-08-25 11:35:19 -04:00
Clint Armstrong
55ad58b4e9 update sql schema to add primary key for pollers 2015-08-25 11:35:19 -04:00
Clint Armstrong
bedf425c1c update sql schema to add primary key for pollers 2015-08-25 11:35:18 -04:00
Clint Armstrong
b4c5f0a5ec notes 2015-08-25 11:35:18 -04:00
Clint Armstrong
b9c3b3cec8 sql stuff 2015-08-25 11:35:18 -04:00
Clint Armstrong
4529ba2e7d fix stupid query 2015-08-25 11:35:18 -04:00
Clint Armstrong
c65a160c18 log progress to db every 5 minutes 2015-08-25 11:35:18 -04:00
Clint Armstrong
0588ff41c3 get a lock when doing discovery 2015-08-25 11:35:18 -04:00
Clint Armstrong
67b8f9f473 pep8 2015-08-25 11:35:17 -04:00
Clint Armstrong
b0c02a167e add license to docstring 2015-08-25 11:35:17 -04:00
Clint Armstrong
4fed175935 document loglevel 2015-08-25 11:35:17 -04:00
Clint Armstrong
f8756dc956 more details indocs 2015-08-25 11:35:17 -04:00
Clint Armstrong
1f0799fc03 more details about which cronjobs this replaces 2015-08-25 11:35:17 -04:00
Clint Armstrong
9ae0bc3f83 documentation written 2015-08-25 11:35:16 -04:00
Clint Armstrong
18d8914548 discover integration working 2015-08-25 11:35:16 -04:00
Clint Armstrong
f293e3d967 add discovery support to service 2015-08-25 11:35:16 -04:00
Clint Armstrong
c7423d2c4e start docs 2015-08-25 11:35:16 -04:00
Clint Armstrong
cf8844742e poller service upstart conf working 2015-08-25 11:35:16 -04:00
Clint Armstrong
57bf214df3 first attempt at upstart conf 2015-08-25 11:35:16 -04:00
Clint Armstrong
e30aea0168 get all config from config.php 2015-08-25 11:35:15 -04:00
Clint Armstrong
f7993a204c log level from config 2015-08-25 11:35:15 -04:00
Clint Armstrong
2b3d70e928 add proper logging 2015-08-25 11:35:15 -04:00
Clint Armstrong
e9ffc7a374 thread numbers are meaningless 2015-08-25 11:35:15 -04:00
Clint Armstrong
4736544e7e fix bug on retrying failed devices 2015-08-25 11:35:15 -04:00
Clint Armstrong
1dcaa51011 more efficient sql queries, working well all night 2015-08-25 11:35:14 -04:00
Clint Armstrong
99cf049645 cleaned up 2015-08-25 11:35:14 -04:00
Clint Armstrong
4d3b7a3c0f working 2015-08-25 11:35:14 -04:00
Clint Armstrong
bd054d7a81 first attempt at looping logic 2015-08-25 11:35:14 -04:00
Clint Armstrong
e479d8cf69 change variables 2015-08-25 11:35:14 -04:00
Clint Armstrong
2ba1d9e0ec add shebang 2015-08-25 11:35:14 -04:00
Clint Armstrong
72844d112e make poller-service executable 2015-08-25 11:35:13 -04:00
Clint Armstrong
7f262fd2cc limit sql query to amount_of_workers 2015-08-25 11:35:13 -04:00
Clint Armstrong
b34fcf8728 remove debug echos 2015-08-25 11:35:13 -04:00
Clint Armstrong
8e34e83d97 add swp to gitignore for vim 2015-08-25 11:35:13 -04:00
Clint Armstrong
e7c51f2a80 add mysql lock for polling 2015-08-25 11:35:13 -04:00
Daniel Preussker
43d13c66e9 Merge pull request #1756 from laf/poller-debug
Clean up some poller debug + added updated version and last git commit
2015-08-25 09:04:18 +00:00
laf
86059f67c1 updated to use function for last commit 2015-08-25 08:40:20 +00:00
laf
59de0d1478 Clean up some poller debug + added updated version and last git commit 2015-08-24 20:54:19 +00:00
Neil Lathwood
065ad345c6 Merge pull request #1721 from f0o/issue-1478
Add basic Pushbullet transport.
2015-08-24 19:37:50 +01:00
f0o
103221f765
Added Config-SQL 2015-08-24 14:59:43 +01:00