Skip to content

Commit 1a8d527

Browse files
Workaround for openethereum#9807 (#11)
1 parent e31b3aa commit 1a8d527

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

parity/run.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,8 +1007,11 @@ fn build_create_account_hint(spec: &SpecType, keys: &str) -> String {
10071007

10081008
fn wait_for_drop<T>(w: Weak<T>) {
10091009
let sleep_duration = Duration::from_secs(1);
1010-
let warn_timeout = Duration::from_secs(60);
1011-
let max_timeout = Duration::from_secs(300);
1010+
// temporary workaround for https://github.com/paritytech/parity-ethereum/issues/9807
1011+
// let warn_timeout = Duration::from_secs(60);
1012+
// let max_timeout = Duration::from_secs(300);
1013+
let warn_timeout = Duration::from_secs(5);
1014+
let max_timeout = warn_timeout;
10121015

10131016
let instant = Instant::now();
10141017
let mut warned = false;

0 commit comments

Comments
 (0)