1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 10:19:30 +02:00
Commit graph

16 commits

Author SHA1 Message Date
Simo Kinnunen
385acc4ff2 Don't allow the processor unit to run before we're able to connect to the database. This caused an issue when the database started up slowly, but the processor connected to the app/dev dealers regardless. Any received messages requiring database connectivity would cause the processor to die (and be restarted by systemd), causing lost messages on occasion. 2017-02-06 00:36:32 +09:00
Simo Kinnunen
a995a2f823 Don't attempt to reconnect to the db when we're dying. 2017-02-06 00:30:07 +09:00
Gunther Brunner
434f63b3a9 Fix all lib/ files with ESLint rules with 0 errors. 2016-01-19 20:52:38 +09:00
Simo Kinnunen
f0aae7d4e5 The srv resolver should be easier to use now. 2014-12-17 20:30:52 +09:00
Simo Kinnunen
23621d0bdd The DB should now be able to connect to SRV records. It will also attempt to fail over once if a connection closes. 2014-12-17 17:55:58 +09:00
Simo Kinnunen
4234bb9e34 Remove rutil in favor of the updated rethinkdb driver. 2014-07-22 12:55:33 +09:00
Simo Kinnunen
87a51ef76d Better compatibility with docker's --link option. 2014-07-09 23:27:03 +09:00
Simo Kinnunen
aa8f8fd999 Set rethinkdb connection defaults to docker --link environment variables. 2014-05-29 03:13:21 +09:00
Simo Kinnunen
123bf2e647 Automatically close database when lifecycle ends. 2014-04-12 16:00:04 +09:00
Simo Kinnunen
3685d543c4 Bind DB connection error to lifecycle. 2014-04-03 12:20:00 +09:00
Simo Kinnunen
8f90ce0e02 Don't auto-migrate because it's slow when many processes have to do the same. 2014-04-02 14:39:07 +09:00
Simo Kinnunen
b4416b5f0f Fix all JSHint complaints in Node.js code. 2014-03-19 20:36:46 +09:00
Simo Kinnunen
4896ca406e Reap dead devices using timeouts. Previously, if a provider died without being able to clean up properly, the device would stay as a ghost. 2014-02-25 20:45:29 +09:00
Simo Kinnunen
9c4f13e6cd Be more obvious when the database connection fails. 2014-02-06 14:13:59 +09:00
Simo Kinnunen
881996557a Add user to rethinkdb after login. 2014-01-28 12:27:33 +09:00
Simo Kinnunen
23d068490e Add rethinkdb. 2014-01-27 19:53:55 +09:00