Daniel Sockwell
e8145275b5
Config refactor ( #57 )
...
* Refactor configuration
* Fix bug with incorrect Host env variable
* Improve logging of REDIS_NAMESPACE
* Update test for Postgres configuration
* Conform Redis config to Postgres changes
2019-10-03 00:34:41 -04:00
Daniel Sockwell
11661d2fdc
Redis config ( #56 )
...
* Add most Redis config variables
* Add REDIS_NAMESPACE env var
* Fix Clippy lints
2019-10-02 00:03:18 -04:00
Daniel Sockwell
5b663d110e
Unicode fix ( #54 )
...
* Increase detail of error logging; bump version
* Fix panic caused by spliting a message inside a Unicode char
2019-10-01 09:28:43 -04:00
Daniel Sockwell
d347b8e2dc
Fix CPU issue caused by blocking code ( #53 )
...
* Fix blocking read
* Update logging for long polling
2019-09-28 17:57:37 -04:00
Daniel Sockwell
fc7feb6694
Speed improvment to redis_parse ( #52 )
2019-09-28 12:27:45 -04:00
Daniel Sockwell
2ac08c5316
Parse redis messages ( #51 )
...
* Initial version of Redis parsing fix
* Refactor parsing for more maintainability
* Add benchmarks for new parsing strategy
* Add tests for parsing
2019-09-27 23:29:11 -04:00
Daniel Sockwell
ceb38c2689
Add initial benchmarks ( #50 )
2019-09-11 17:28:27 -04:00
Daniel Sockwell
0dec8c4124
Solve SendErrors ( #47 )
...
This commit solves the SendErrors that were triggered by attempting
to use a WebSocket connection after it had been closed by the client
2019-09-11 00:13:45 -04:00
Daniel Sockwell
989c71059e
Remove debug statements ( #43 )
2019-09-09 14:23:48 -04:00
Daniel Sockwell
ecfdda093c
Add tests for websocket routes ( #38 )
...
* Refactor organazation of SSE
This commit refactors how SSE requests are handled to bring them into
line with how WS requests are handled and increase consistency.
* Add websocket tests
* Bump version to 0.2.0
Bump version and update name from ragequit to flodgatt.
* Add test for non-existant endpoints
* Update documentation for recent changes``
2019-09-09 13:06:24 -04:00
Daniel Sockwell
a27fb0d605
Postgres ssl ( #36 )
...
* Upgrade postgres dependency to support ssl
* Clean up configuration code
* Add support for SSL with postgres [WIP]
2019-09-04 21:31:52 -04:00
Daniel Sockwell
a8345bd234
Fix bug leading to dropped messages ( #34 )
...
This commit fixes an issue where messages would be dropped if
multiple messages arrived from Redis at the same time.
2019-08-27 20:29:37 -04:00
Daniel Sockwell
2fca5ec327
Store each Redis message as a growable String ( #30 )
...
This commit stores each message received from Redis as a growable string
rather than in a buffer of fixed size. This allows the server to
receive messages of any length.
2019-07-11 15:10:56 -04:00
Daniel Sockwell
1925710e8e
Exclude all non-`message` data from Redis results ( #29 )
2019-07-11 08:45:53 -04:00
Daniel Sockwell
4327216eb1
correctly parse notification/delete messages ( #28 )
2019-07-10 23:44:04 -04:00
Daniel Sockwell
00cf62cd09
Hotfix to correct typo and set default log level to `warn`
2019-07-09 22:18:04 -04:00
Daniel Sockwell
866f3ee34d
Update documentation and restructure code
2019-07-08 15:21:02 -04:00
Daniel Sockwell
d6ae45b292
Code reorganization
2019-07-08 07:31:42 -04:00