ssb: If things time out because we're following a million accounts...recover ungracefully.
This commit is contained in:
@ -253,7 +253,11 @@ class TfTabNewsFeedElement extends LitElement {
|
||||
try {
|
||||
let more = [];
|
||||
let last_start_time = this.time_range[0];
|
||||
more = await this.fetch_messages(null, last_start_time);
|
||||
try {
|
||||
more = await this.fetch_messages(null, last_start_time);
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
}
|
||||
this.update_time_range_from_messages(
|
||||
more.filter((x) => x.timestamp < last_start_time)
|
||||
);
|
||||
|
Reference in New Issue
Block a user