796 Commits

Author SHA1 Message Date
tidwall
10f7bfc445 Fix invalid pubsub format for json output
This commit fixes a bug that causes bad formatting for geofence
notifications when a client's output is set to JSON.

closes #499
2019-10-28 12:51:44 -07:00
tidwall
d2cfb87c89 1.18.0 2019-10-09 11:57:43 -07:00
tidwall
b092cea0d2 Use WaitTimeout for MQTT 2019-10-08 11:13:18 -07:00
tidwall
6b2025ab0c Merge branch 'neterror-master' 2019-10-08 11:10:37 -07:00
tidwall
3d9915e055 Merge branch 'master' of https://github.com/neterror/tile38 into neterror-master 2019-10-08 11:10:16 -07:00
Plamen Todorov
6b82fd94eb randomize mqtt client id with math/rand
Cryptographic randomizer is not required for mqtt clientIds. They
should be unique only among currently selected clients.
2019-10-08 20:24:31 +03:00
tidwall
87185319b2 Fix JSET cancels expiry
issue #498
2019-10-08 09:45:46 -07:00
tidwall
13c206fe05 Fixed data race for hooks with ttls
issue #497
2019-10-08 09:26:55 -07:00
Plamen Todorov
c3b9a689bb Use uuid as mqtt clientId
Use crypto/random to generate unique mqtt client id. The tile38 prefix
makes the connections easily identifiable in the mqtt broker logs.
2019-10-08 09:34:31 +03:00
Plamen Todorov
fb2aef2ce6 MQTT clientId should be unique
Each mqtt hook establishes separate connection to the MQTT broker. If
their clientIds are all equal the MQTT broker will disconnect the clients - the
protocol does not allow 2 connected clients with the same name
2019-10-06 22:15:06 +03:00
tidwall
5abadd72a3 Updated geoindex 2019-09-19 11:30:49 -07:00
tidwall
639f6e2deb Replaced boxtree for rbang 2019-09-12 18:42:53 -07:00
tidwall
93cf63f1bd 1.17.6 2019-09-04 13:01:30 -07:00
tidwall
3d96b17258 GC pauses be gone 2019-09-04 12:47:30 -07:00
tidwall
2571ce5106 Minimize AOF buffer releases 2019-09-03 17:01:26 -07:00
tidwall
4bd6b4b838 Moved ReadMemStats into a background polling function
This will keep profile commands such as SERVER and STATS from
stopping the world.
2019-09-03 16:57:49 -07:00
tidwall
e167e88e8f removed diag 2019-09-03 16:39:51 -07:00
tidwall
b6884fce63 diagnostics 2019-09-03 16:35:42 -07:00
tidwall
e6a2c163f4 1.17.5 2019-08-22 16:00:07 -07:00
tidwall
aedd972516 Fixed invalid count for nearby queries
closes #489
2019-08-22 15:53:37 -07:00
tidwall
54f14d8b03 Updated gjson library 2019-08-15 06:08:38 -07:00
Josh Baker
42c3ec047e
Delete CONTRIBUTING.md 2019-08-11 17:35:26 -07:00
tidwall
d663383bdc 1.17.4 2019-08-09 09:50:33 -07:00
Josh Baker
047d2dcbff
Merge pull request #486 from saltatory/master
Added RLock on connections map
2019-08-09 09:45:52 -07:00
saltatory
ec5a5342a2 Added RLock on connections map 2019-08-09 08:48:23 -07:00
tidwall
815d7bc43d 1.17.3 2019-08-03 10:17:34 -07:00
tidwall
f7888c1edf Fixed malformed json for chans command
Mentioned by ds2xor on Slack
2019-08-03 10:10:28 -07:00
Josh Baker
544c414972
Merge pull request #483 from rshura/lua-pool-prune-fix
Fix lua pool pruning
2019-08-01 16:53:04 -07:00
Alex Roitman
b9e2c67933 Fix lua pool pruning 2019-08-01 11:55:52 -07:00
tidwall
6e98f52769 1.17.2 2019-06-28 10:47:25 -07:00
Josh Baker
0abaeca1c4
Merge pull request #472 from tidwall/updated-geojson
Updated geojson
2019-06-28 10:41:40 -07:00
tidwall
8c9f2f10bd Updated geojson version 2019-06-28 10:31:49 -07:00
tidwall
85b70e0d26 Updated geojson package 2019-06-28 10:01:12 -07:00
Josh Baker
37d64f0466 1.17.1 2019-06-04 14:09:30 -07:00
Josh Baker
c298135b2e Merge pull request #460 from melbania/add-resp-fields-tests
Added RESP output fields test for NEARBY/WITHIN
2019-06-04 13:49:39 -07:00
Josh Baker
acb3695523 Merge pull request #459 from tidwall/unsubscribe
Added unsubscribing from active channel
2019-06-04 13:49:38 -07:00
Josh Baker
aa73fcd17b Added unsubscribing from active channel
related #448
2019-06-04 13:49:32 -07:00
Melissa Baker
bedddcbe13 Added RESP output fields test for NEARBY/WITHIN 2019-06-04 10:43:32 -07:00
Josh Baker
ac3bac7d16
Merge pull request #454 from olevole/master
log: fix typo in Fatalf func
2019-06-04 08:39:48 -07:00
tidwall
f01389d181 Merge branch 'melbania-fix-json-nearby-fields' 2019-05-28 12:36:12 -07:00
Melissa Baker
4ba237b10e Added test for correct json fields output 2019-05-28 12:28:56 -07:00
Melissa Baker
51b7391aca Merge branch 'master' into fix-json-nearby-fields 2019-05-28 12:28:27 -07:00
Melissa Baker
46f5d2d224 Fixed nearby json field results showing wrong data
issue #453
2019-05-28 12:17:59 -07:00
Josh Baker
8154eae040
Merge pull request #457 from tidwall/disable-elapsed-tests
Removed elapsed member for json testing
2019-05-28 09:33:30 -07:00
tidwall
b86d2287f4 Removed elapsed member for json testing 2019-05-28 09:22:15 -07:00
Oleg Ginzburg
80b2d4c5a8 log: fix typo in Fatalf func
fixed for x1b[31m[FATA] output
2019-05-17 13:24:05 +03:00
Josh Baker
e8801fd45a
Merge pull request #447 from rshura/fix-timeout-desc
Fix description of TIMEOUT command -- seconds are not optional.
2019-04-26 12:47:46 -07:00
Alex Roitman
51b0de5670 Fix description of TIMEOUT command -- seconds are not optional. 2019-04-26 12:46:15 -07:00
tidwall
623715e315 1.17.0 2019-04-26 11:59:03 -07:00
tidwall
3ae59274e3 Removed evio option 2019-04-26 11:50:49 -07:00