upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/login.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-01-31 00:00:00 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2024-01-31 00:00:00 +0000
commit45dc04b81bf7c07f249c9539a48516d4c17abdba (patch)
treecbd1666be8c7eb1d2e25c7d69b8109bdd0949959 /src/login.rs
parent37b7263a628b7a4fa1022af7a9fe42e36b464e09 (diff)
fix: intermittent crashing by removing block_on
a crashing bug was identifed when users ran ngit with large relay sets. the test suite would also stop at random tests and produce a ...running for over 60 seconds error but only on nix configuration and not when using rustup. this change fixes this so the ngit must have been crashing more often when ran with the reduced resources of a nix shell. the test suite consistantly runs successfully under nix when this change is applied to v0.1.0. later changes were made to mitigate this and other issues as hot fixes which either intentionally broke tests (to rush the change through as a hotfix) or unintentionally in the case of nostr 0.27 upgrade in fc3f22eac2bb81823f170f61ba9d39baff76b933 changes introduced in e0f543e8adb144f6deff6ff7ea0c412c9fcac5b4, specifically queuing up relays, are probably not needed so I have increased the number of relays proccessed at any one time from 5 to 15
Diffstat (limited to 'src/login.rs')
0 files changed, 0 insertions, 0 deletions