Commit Graph
100 Commits
Author SHA1 Message Date
Timothy Pogue ce43fa5f43 small fix to websocketchannel and relay 2022-11-17 12:03:11 -07:00
Timothy Pogue 875e9ab447 change df serialization to avoid mem leak 2022-11-17 11:59:03 -07:00
Timothy Pogue b749f3edd6 add latency measure from ping in emc and ws_client 2022-11-02 19:30:35 -06:00
Timothy Pogue a0965606a5 update ws_client more verbosity, better readable time delta 2022-11-02 18:49:11 -06:00
Timothy Pogue 000b0c2198 prevent memory leaks from error in _broadcast_queue_data 2022-11-02 18:00:10 -06:00
Timothy Pogue cbede2e27d refactor channel.send to avoid queue.put 2022-11-02 17:57:11 -06:00
Timothy Pogue 2dc55e89e6 better error handling channel send 2022-11-02 15:25:39 -06:00
Timothy Pogue 55bf195bfb remove debugging log calls 2022-11-02 14:21:34 -06:00
Timothy Pogue c2bdaea84a change exception handling in channel send 2022-11-02 14:19:08 -06:00
Timothy Pogue d848c27283 add task done to broadcast queue method 2022-11-02 13:30:42 -06:00
Timothy Pogue e25dea7e0e update channel disconnecting 2022-11-02 13:26:27 -06:00
Timothy Pogue b9bf9edb02 update rapidjson opts 2022-10-25 14:12:13 -06:00
Timothy Pogue fd5f31368c fix indent in initial df send 2022-10-25 14:08:28 -06:00
Timothy Pogue 51be45547f remove np object, make default str 2022-10-24 12:23:54 -06:00
Timothy Pogue 32600a113f fix broadcast 2022-10-24 12:21:17 -06:00
Timothy Pogue bb06745227 fix tests 2022-10-23 12:25:39 -06:00
Timothy Pogue 07e813dfa0 change param record to only get certain params 2022-10-23 12:09:07 -06:00
Timothy Pogue 94b65a007a fix message typing in channel manager, minor improvements 2022-10-23 11:42:59 -06:00
Timothy Pogue 9cffa3ca2b add comment in channel 2022-10-22 21:03:57 -06:00
Timothy Pogue 4cbea0fd00 Merge branch 'develop' of https://github.com/wizrds/freqtrade into fix/channel-api 2022-10-22 21:03:31 -06:00
Timothy Pogue 3d7a311caa removed sleep calls, better channel sending 2022-10-22 19:02:05 -06:00
Timothy Pogue c4a2ee05e7 fix freqai test 2022-10-22 09:31:55 -06:00
Timothy Pogue 2b6d00dde4 initial channel api change 2022-10-22 09:30:18 -06:00
Timothy Pogue 4464e91256 use self.identifier in full path 2022-10-21 19:53:33 -06:00
Timothy Pogue 5ee3b8cbbb update config recording to use all configs, fix tests 2022-10-21 19:48:26 -06:00
Timothy Pogue 16c0fef72e update timestamp calculation to correct int, remove internal ping interval 2022-10-11 00:10:57 -06:00
Timothy Pogue eb8c89fe31 move send delay to relay 2022-10-10 23:32:10 -06:00
Timothy Pogue 5ada5eb540 fix error message, update exception import 2022-10-10 23:30:43 -06:00
Timothy Pogue db8cf6c957 disable ping interval in client 2022-10-09 18:51:52 -06:00
Timothy Pogue 71bbffd10a update ws channel send to add data to queue 2022-10-09 18:49:04 -06:00
Timothy Pogue 2c76dd9e39 change wait timeout to 30 seconds to better support reverse proxies 2022-10-09 15:23:56 -06:00
Timothy Pogue 2f64a08623 set channel queue maxsize to 32 2022-10-09 15:11:58 -06:00
Timothy Pogue 3e8d8fd1b0 refactor broadcasting to a queue per client 2022-10-09 15:04:52 -06:00
Timothy Pogue 0460f362fb typo in handle func name 2022-10-07 10:41:06 -06:00
Timothy Pogue 1595e5fd8a small fix in protocol 2022-10-06 21:00:28 -06:00
Timothy Pogue b92b98af29 fix formatting 2022-10-06 14:33:04 -06:00
Timothy Pogue 3e08c6e540 testing/debugging ws client script 2022-10-06 14:12:44 -06:00
Timothy Pogue e54ed5b10e fix runtime error: dict changed size during iteration 2022-09-25 15:05:56 -06:00
Timothy Pogue af974443cd add test 2022-09-23 13:37:46 -06:00
Timothy Pogue 6b5d71049e add sleep 2022-09-23 13:10:45 -06:00
Timothy Pogue 4c7cef570f typo in exception 2022-09-23 12:58:26 -06:00
Timothy Pogue b8e1d29a1b catch connectionclosederror 2022-09-23 12:36:05 -06:00
Timothy Pogue 255ff000af typo in configuration.md 2022-09-23 12:12:47 -06:00
Timothy Pogue 6a6ae809f4 fix jwt auth 2022-09-21 18:23:00 -06:00
Timothy Pogue 77ed713232 add catch for invalid message error 2022-09-21 16:04:25 -06:00
Timothy Pogue 128b117af6 support list of tokens in ws_token 2022-09-21 16:02:21 -06:00
Timothy Pogue 0811bca8b4 revise docs, update dp method docstring 2022-09-21 15:50:11 -06:00
Timothy Pogue 4422ac7f45 constrain port in config, catch value error 2022-09-16 19:22:24 -06:00
Timothy Pogue b0b575ead9 change json serialize to split orient 2022-09-16 00:02:27 -06:00
Timothy Pogue 1ad25095c1 change test server from localhost to 127.0.0.1 2022-09-15 19:40:45 -06:00
Timothy Pogue efaef68ad7 Merge branch 'develop' into feat/externalsignals 2022-09-15 18:09:25 -06:00
Timothy Pogue 7d1645ac20 fix tests and warning message 2022-09-15 17:54:31 -06:00
Timothy Pogue 8e75852ff3 fix constants, update config example, add emc config validation 2022-09-15 11:12:05 -06:00
Timothy Pogue 6126925dbe message size limit in mb, default to 8mb 2022-09-14 16:42:14 -06:00
Timothy Pogue aed19ff6ce fix The future belongs to a different loop error 2022-09-13 19:17:12 -06:00
Timothy Pogue 06350a13cb support specifying message size in emc config 2022-09-13 16:39:53 -06:00
Timothy Pogue d75d5a7dad debug ping error message 2022-09-13 16:06:25 -06:00
Timothy Pogue 46a425d1b6 fix OOM on emc test 2022-09-13 13:36:21 -06:00
Timothy Pogue aeaca78940 change port in send_msg test 2022-09-13 12:39:12 -06:00
Timothy Pogue 07aa206f71 real fix for reconnecting 2022-09-13 12:36:40 -06:00
Timothy Pogue 6d0dfd4dc8 continue trying connect on ping error 2022-09-13 12:27:41 -06:00
Timothy Pogue 75ce9067dc fix dp test 2022-09-12 16:39:16 -06:00
Timothy Pogue bf2e5dee75 add running false on shutdown, fix dp typing 2022-09-12 14:21:39 -06:00
Timothy Pogue 12a3e90f78 fix tests 2022-09-12 14:12:39 -06:00
Timothy Pogue 0697041f14 remove copy statement where not needed 2022-09-12 14:09:12 -06:00
Timothy Pogue c19a5fbe06 copy data being transferred, remove debug messages in emc 2022-09-12 13:57:29 -06:00
Timothy Pogue a477b3c244 remove log line, fix tests to not connect to actual ip 2022-09-12 10:45:59 -06:00
Timothy Pogue 10852555e5 change verbosity of testing log 2022-09-12 09:53:47 -06:00
Timothy Pogue 457075b823 one more line 2022-09-12 07:47:30 -06:00
Timothy Pogue d6205e6cfb test logging lines 2022-09-12 07:36:11 -06:00
Timothy Pogue 85b43a7c34 Merge branch 'develop' into feat/externalsignals 2022-09-12 07:28:08 -06:00
Timothy Pogue 5483cf21f6 remove default secret_ws_token, set timeout min to 0 2022-09-11 11:42:13 -06:00
Timothy Pogue 818f7bfc40 Merge branch 'develop' into feat/externalsignals 2022-09-11 09:48:16 -06:00
Timothy Pogue 0a8b7686d6 reworked emc tests 2022-09-11 00:50:18 -06:00
Timothy Pogue ed4ba8801f more emc tests 2022-09-10 23:57:17 -06:00
Timothy Pogue 9a1a4dfb5b more ws endpoint tests 2022-09-10 16:08:05 -06:00
Timothy Pogue 0f8eaf98e7 Merge branch 'develop' into feat/externalsignals 2022-09-10 15:14:10 -06:00
Timothy Pogue 0bc18ea33c call websocket close in channel close 2022-09-10 15:12:18 -06:00
Timothy Pogue 2afd5c202c update message parsing, tests 2022-09-10 14:29:15 -06:00
Timothy Pogue c5d031733b remove old param in test fixture 2022-09-10 13:50:36 -06:00
Timothy Pogue a7baccdb7d update log messages in emc, more tests 2022-09-10 13:44:27 -06:00
Timothy Pogue 866a564958 update emc start/shutdown, initial emc tests 2022-09-10 12:51:29 -06:00
Timothy Pogue d8cdd92140 wrap background cleanup in finally, add tests 2022-09-10 11:47:21 -06:00
Timothy Pogue 2f6a61521f add more tests 2022-09-09 17:14:40 -06:00
Timothy Pogue 826eb85254 update confige example 2022-09-09 11:58:30 -06:00
Timothy Pogue 6cbc03a96a support jwt token in place of ws token 2022-09-09 11:38:42 -06:00
Timothy Pogue 09679cc798 fix dependency 2022-09-09 11:27:20 -06:00
Timothy Pogue ad96597693 wording 2022-09-09 10:59:38 -06:00
Timothy Pogue 445ab1beee update docs 2022-09-09 10:56:54 -06:00
Timothy Pogue 426f8f37e9 change var names 2022-09-09 10:45:49 -06:00
Timothy Pogue 46cd0ce994 fix sentence in docs 2022-09-08 16:30:31 -06:00
Timothy Pogue 1466d2d26f initial message ws docs 2022-09-08 16:27:09 -06:00
Timothy Pogue 75cf8dbfe4 missed await 2022-09-08 15:11:36 -06:00
Timothy Pogue c9d4f666c5 minor apiserver test change 2022-09-08 14:00:22 -06:00
Timothy Pogue 2b9c8550b0 moved ws_schemas, first ws tests 2022-09-08 13:58:28 -06:00
Timothy Pogue b9e7af1ce2 fix ws token auth 2022-09-08 11:25:30 -06:00
Timothy Pogue fac6626459 update default timeouts 2022-09-08 10:54:31 -06:00
Timothy Pogue b3b0c918d9 cleanup old code 2022-09-08 10:44:03 -06:00
Timothy Pogue 379b1cbc90 remove unnecessary returns 2022-09-08 10:37:41 -06:00
Timothy Pogue df3c126146 fix mypy error 2022-09-08 10:34:37 -06:00