damus.io

damus.io website
git clone git://jb55.com/damus.io
Log | Files | Refs | README | LICENSE

commit db97ee909b0ac333370f6aa0f26da3d3d140829d
parent 27bd611047e578731b4cb16795f41ffa0add56c3
Author: William Casarin <jb55@jb55.com>
Date:   Sun, 20 Nov 2022 19:54:55 -0800

give up looking for unknowns quicker

Diffstat:
Mweb/js/damus.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/js/damus.js b/web/js/damus.js @@ -385,7 +385,7 @@ function gather_unknown_hints(damus, pks, evids) function get_non_expired_unknowns(unks, type) { - const MAX_ATTEMPTS = 3 + const MAX_ATTEMPTS = 2 function sort_parent_created(a_id, b_id) { const a = unks[a_id]