Commit graph

12 commits

Author SHA1 Message Date
7e44181f45 Updates for nim 0.19. 2018-11-06 15:54:05 -08:00
d3e020362c Lowercase all hostnames before sending to the database. 2018-06-26 09:47:23 -07:00
5d4c9f24e8 Remove port and user from the default dbopts, so they instead use the postgresql behavioral default. 2018-02-20 10:59:26 -08:00
b8d036a5da Multiple changes:
- Make the 'release' build the default.
  - Add a configurable socket timeout parameter.
  - Make the table name configurable.
  - Add usage docs to the README.
2018-02-19 18:22:25 -08:00
61241defa1 Properly reap child processes. 2018-02-18 22:18:44 -08:00
d9c179f32a Multiple changes.
- There's still a delay somewhere with threading in the socket read()
   that impacts simultaneous client connections.  After a bunch of
   experimenting with Channel message passing, rip it all out in
   favor of a simple fork()ing server.

 - Remove the color option, just check stdout for a tty instead to make
   it automatic.

 - Better error handling for malformed packets/samples.
2018-02-18 18:16:37 -08:00
687f0411be Force a GC pass after 25 cycles. Don't bother with sync() at exit, unnecessary. 2018-02-15 10:29:37 -08:00
9441693a4a Each incoming connection requires its own client socket. 2018-02-14 17:27:29 -08:00
0dc6545498 Multiple changes.
- Colorize output by default, add option to disable.
 - Time parsing per incoming client.
 - Add a "quiet" mode.
 - Allow binding to a specific IP address.
 - Allow debug mode to be set without recompiling.
 - Alter thread wrapper for reporting and config passing.
 - Fix file descriptor leak with client connections.
 - Wait for current threads to finish before exiting.
2018-02-14 15:41:11 -08:00
9f4f661eef Wrap commits in a transaction. 2018-02-12 13:25:26 -08:00
aebe51c9e8 Add README. 2018-02-12 12:49:12 -08:00
e305686d6d Initial commit. 2018-02-12 12:26:16 -08:00