Commit Graph

43 Commits

Author SHA1 Message Date
Grant Limberg 692733fffb Don't write to ztc_network_status table anymore in central controller 2019-07-15 13:00:16 -07:00
Grant Limberg 37d321afc8 dont spin as much in the onlineNotificationThread 2019-05-31 15:10:45 -07:00
Grant Limberg 6a027c9c0a amqp_consume_message now has a timeout
RabbitMQ::consume() will return an empty string if the call to amqp_consume_message times out
2019-04-18 14:57:06 -07:00
Grant Limberg 6014df2847 fix compile & sql errors 2019-04-04 15:11:01 -07:00
Grant Limberg 55a9e6e05e Queue up inserts in onlineNotificationThread() into a multiple insert statement 2019-04-04 12:40:49 -07:00
Grant Limberg 993d850f69 more logs 2019-03-08 10:50:33 -08:00
Grant Limberg 8141043560 finish up rabbitmq integration 2019-03-06 16:16:49 -08:00
Grant Limberg fcb4221f97 rabbitMQ implementation 2019-03-05 15:11:50 -08:00
Grant Limberg 1f13374a4f added struct for rabbitmq config 2019-03-04 17:01:16 -08:00
Grant Limberg 801401a6e7 Merge branch 'dev' of http://git.int.zerotier.com/ZeroTier/ZeroTierOne into dev 2019-03-04 16:31:36 -08:00
Grant Limberg de1fc43cc5 added librabbitmq library for central controller 2019-03-04 16:27:39 -08:00
Grant Limberg 7414418e2e insert/update host_port on controller start 2019-01-21 11:29:13 -08:00
Grant Limberg 2294770e56 Merge branch 'dev' of http://git.int.zerotier.com/zerotier/ZeroTierOne into dev 2019-01-21 11:18:25 -08:00
Grant Limberg d98bdb5643 WIP: Pass listen port down to Postgres 2019-01-21 11:18:20 -08:00
Joseph Henry 0e597191b8 Updated licenses for 2019 2019-01-14 10:25:53 -08:00
Grant Limberg 0da2efa633 add application_name to pgbouncer connectio string 2018-12-10 12:26:20 -08:00
Grant Limberg 56a58f2b11 more logging of exits from the central controller 2018-12-06 13:26:53 -08:00
Grant Limberg e959908c51 log message 2018-12-06 13:19:36 -08:00
Grant Limberg 6e3144370a exit controller if onlinenotification thread exits while _run == 1 2018-12-06 13:10:59 -08:00
Grant Limberg 1c86f25fab update # of threads for Postgres 2018-12-06 13:08:31 -08:00
Grant Limberg 328d08781a finish pgbouncer integration 2018-12-03 16:12:15 -08:00
Grant Limberg c8d5215870 add handling for PGBOUNCER_CONNSTR environment variable.
alows Central controllers to connect to PGBouncer on some threads.  LISTEN threads still require a direct connection to the DB
2018-12-03 15:19:15 -08:00
Grant Limberg ccb856749f back to plain old libpq in dev 2018-11-30 10:40:57 -08:00
Grant Limberg e3381a4c1f fix member init query 2018-11-13 16:19:55 -08:00
Grant Limberg 882b03436d WIP: libpxx instead of libpq 2018-11-13 16:00:13 -08:00