mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-10 14:26:26 +00:00
634408ff2c
`news` has a few open issues that are not present in `nim-websock`: 1. There is a 1 second delay between each MB of sent data. 2. Cancelling an ongoing `send` makes the entire WebSocket unusable. 3. Control packets do not have priority over ongoing message frames. Using `news`, there are quite a few of these messages in Geth: ``` Previously seen beacon client is offline. Please ensure it is operational to follow the chain! ``` It may take quite some time to reconnect when this happens. Using `nim-websock`, this message still occurs because `eth1_monitor` reconnects the EL connection when no new blocks occurred for 5 minutes, but reconnecting is quick and the message is rarer.
10 lines
219 B
Nim
10 lines
219 B
Nim
-d:"chronicles_sinks=textlines[dynamic],json[dynamic]"
|
|
-d:"chronicles_runtime_filtering=on"
|
|
-d:"chronicles_disable_thread_id"
|
|
|
|
@if release:
|
|
-d:"chronicles_line_numbers:0"
|
|
@end
|
|
|
|
-d:"json_rpc_websocket_package=websock"
|