Commit Graph

119 Commits

Author SHA1 Message Date
Grant Limberg faf0c6bbfa make sure to commit on online notification thread 2021-06-02 14:08:09 -07:00
Grant Limberg 79f1e81745 debug printf typo & line break 2021-06-02 13:51:47 -07:00
Grant Limberg 7427961fcf bug fixes & debug code 2021-06-02 13:46:54 -07:00
Grant Limberg 47154fa623 transiton to libpqxx & connection pool for central controllers 2021-06-02 11:44:00 -07:00
Grant Limberg c2efdcabc5 fix 2021-05-28 15:01:42 -07:00
Grant Limberg 6d8c96b89f formatting 2021-05-28 14:19:13 -07:00
Adam Ierymenko c470c6255e Postgres code for SSO (almost certainly needs work) 2021-05-28 17:08:24 -04:00
Grant Limberg c80843e496 Revert "remove redundant writes when changes come from Central"
This reverts commit f9396f979f.
2020-10-05 13:32:47 -07:00
Grant Limberg f9396f979f remove redundant writes when changes come from Central
network & member changes tagged with `"fromCentral": true` will not be rewritten to the db
2020-10-05 11:03:03 -07:00
Grant Limberg 3db263284b not sure how this got reverted 2020-09-10 13:18:25 -07:00
Grant Limberg 43c108f077 missed a rollback 2020-08-26 15:50:36 -07:00
Grant Limberg 33cc59914a Merge branch 'dev-redis' into dev 2020-08-26 14:52:54 -07:00
Grant Limberg 45b6d11126 Put upserts from controller into single transaction 2020-08-26 14:52:23 -07:00
Adam Ierymenko 47e9fb3ddb Merge branch 'dev' of http://git.int.zerotier.com/zerotier/ZeroTierOne into dev 2020-08-25 08:07:23 -07:00
Grant Limberg e7891bfcb0 Merge branch 'dev-redis' into dev 2020-08-21 16:29:13 -07:00
Grant Limberg 7f99c4a779 Sleep 10 seconds between writes to DB 2020-08-21 16:22:28 -07:00
Adam Ierymenko 06730c7d1d BSL date bump 2020-08-20 12:51:39 -07:00
Grant Limberg c0c215c83c single dns config per network 2020-08-12 13:08:47 -07:00
Grant Limberg 058d888311 More debug logging cleanup 2020-08-12 10:00:09 -07:00
Grant Limberg d2708daa8e debug output 2020-08-04 14:33:18 -07:00
Grant Limberg 2e52a1eebf forgot a couple queries in postgres. trying to pull dns of member not network in embedded network controller
also some debug logging
2020-08-04 09:45:45 -07:00
Grant Limberg 5b700fa497 println for which notification stream the controller is listening to 2020-07-27 18:37:45 -07:00
Grant Limberg 251b06d812 revert redis for member status 2020-07-23 09:38:50 -07:00
Grant Limberg d0aacfddb7 one more spot 2020-06-04 14:12:20 -07:00
Grant Limberg 9b92ad7772 handle case of no networks and/or no members 2020-06-04 14:06:30 -07:00