Commit Graph

15 Commits

Author SHA1 Message Date
Sascha L. Teichmann 3a9fd0ca1e Cosmetical: Replaced a map to bools by a map with struct{} values because its more a set. 2017-02-27 16:12:19 +01:00
Sascha L. Teichmann 4dc43881c6 Added a few more comments to mtredisalize and unexport a few symbols. 2016-04-24 19:41:15 +02:00
Sascha L. Teichmann 4522708ddf Updates #15 Prevent a potential file handle leak in sending update notifications via POST to mtwebmapper. 2016-01-24 14:31:15 +01:00
Sascha L. Teichmann 8817094001 Added missing copyright headers and updated dates on others. 2015-07-26 16:33:29 +02:00
Sascha L. Teichmann 68bb1ee320 Avoid redundant decoding when sendind coordinate to change tracker or coverage index.
Don't try to store in coverage index if the key already exists.
Handle more potential database errors.
2015-07-25 22:18:16 +02:00
Sascha L. Teichmann ecd599e44d Terminate all log.Printf with a new line. 2015-07-20 14:19:41 +02:00
Sascha L. Teichmann 3b8faba353 Fixed small nit found by golint. 2015-03-14 19:03:25 +01:00
Sascha L. Teichmann 52932b0351 Fixed bogus error handling in change tracking notification. 2014-11-03 18:57:10 +01:00
Sascha L. Teichmann bfe5d36775 Fixed build of mtredisalize. 2014-10-03 19:10:40 +02:00
Sascha L. Teichmann 02593a22d1 mtredisalze: made quantification a constant (default 1). Increase value if the _really_ produces too much data. 2014-09-18 11:43:12 +02:00
Sascha L. Teichmann e81051a84c Simplified json encoding 2014-09-18 06:49:50 +02:00
Sascha L. Teichmann 51626a1371 Do nort send notifications if nothing changed. 2014-09-17 17:34:03 +02:00
Sascha L. Teichmann cf0aec6fa5 mtredisalize: Implemented the http POST of the tracked changes to configured URL. 2014-09-17 10:45:44 +02:00
Sascha L. Teichmann f4c188a87a mtredisalize: Do the actual change tracking, store them in a map and serialize them to JSON when flushing is triggered.
TODO: Implement the POST request to the remote host with this JSON document.
2014-09-17 10:16:51 +02:00
Sascha L. Teichmann 400a65f563 mtredisalize: Add infrastructure to send backend store changes to separate daemons. 2014-09-17 09:51:34 +02:00