From 18121b20c34daf9a5941a387ff987ae063d45b5b Mon Sep 17 00:00:00 2001 From: Arnaud Date: Thu, 10 Apr 2025 09:33:36 +0200 Subject: [PATCH] Update symbol description --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index bf64fa3..809111e 100644 --- a/Readme.md +++ b/Readme.md @@ -209,7 +209,7 @@ Hardhat websockets workaround If you're working with Hardhat, you might encounter an issue where [websocket subscriptions stop working after 5 minutes](https://github.com/NomicFoundation/hardhat/issues/2053). -This library provides a workaround using the `--define:ws_resubscribe=240` option. When this symbol is defined, the subscriptions will automatically resubscribe after 240 seconds (4 minutes). +This library provides a workaround using the compile time `ws_resubscribe` symbol. When this symbol is defined and set to a value greater than 0, websocket subscriptions will automatically resubscribe after the amount of time (in seconds) specified. The recommended value is 240 seconds (4 minutes), eg `--define:ws_resubscribe=240`. Contribution ------------