-
Notifications
You must be signed in to change notification settings - Fork 58
Run multiple event persisters when using Redis #972
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
51d24eb
935782b
b18ed7c
2fab331
8d4d21d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1070,6 +1070,8 @@ sub upgrade_room_synced { | |
$remote_joiner, $new_room_id, ( server_name => $creator->server_name, ) | ||
); | ||
})->then(sub { | ||
# The room list can be updated asynchrounously, so we retry if it | ||
# doesn't match what we expect. | ||
retry_until_success { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why are these changes necessary? And if they are really necessary, can we limit the number of times we retry, rather than going on forever? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The test was flakey. This may no longer be necessary, but in general I don't think the public room lists get updated immediately (as they can be populated via background processes). The There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. could you add a comment to say that we're retrying because the directory is updated asynchonously, or sth. My main gripe with The other problem with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Have added a comment. Yeah, I think that sounds like a general issue with |
||
do_request_json_for( $creator, | ||
method => "GET", | ||
|
@@ -1093,6 +1095,8 @@ sub upgrade_room_synced { | |
}) | ||
} | ||
})->then(sub { | ||
# The room list can be updated asynchrounously, so we retry if it | ||
erikjohnston marked this conversation as resolved.
Show resolved
Hide resolved
|
||
# doesn't match what we expect. | ||
retry_until_success { | ||
do_request_json_for( $remote_joiner, | ||
method => "GET", | ||
|
Uh oh!
There was an error while loading. Please reload this page.