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.
This commit is contained in:
parent
9f4f661eef
commit
0dc6545498
3 changed files with 128 additions and 40 deletions
6
Makefile
6
Makefile
|
|
@ -4,17 +4,17 @@ FILES = netdata_tsrelay.nim
|
|||
default: development
|
||||
|
||||
debug: ${FILES}
|
||||
nim --assertions:on --nimcache:.cache c ${FILES}
|
||||
nim --assertions:on --threads:on --nimcache:.cache c ${FILES}
|
||||
|
||||
development: ${FILES}
|
||||
# can use gdb with this...
|
||||
nim --debugInfo --threads:on --linedir:on --define:testing --nimcache:.cache c ${FILES}
|
||||
nim --debugInfo --threads:on --linedir:on -d:testing -d:nimTypeNames --nimcache:.cache c ${FILES}
|
||||
|
||||
debugger: ${FILES}
|
||||
nim --debugger:on --threads:on --nimcache:.cache c ${FILES}
|
||||
|
||||
release: ${FILES}
|
||||
nim -d:release --opt:speed --threads:on --nimcache:.cache c ${FILES}
|
||||
nim -d:release --opt:speed --parallelBuild:0 --threads:on --nimcache:.cache c ${FILES}
|
||||
|
||||
docs:
|
||||
nim doc ${FILES}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue