Add timeout to avatar fetches and avoid blocking on profile syncs
This commit is contained in:
parent
c64aa86736
commit
55be00d689
2 changed files with 9 additions and 5 deletions
|
@ -1984,7 +1984,7 @@ export function initialize({
|
|||
contentType: 'application/octet-stream',
|
||||
proxyUrl,
|
||||
responseType: 'bytes',
|
||||
timeout: 0,
|
||||
timeout: 90 * SECOND,
|
||||
type: 'GET',
|
||||
redactUrl: (href: string) => {
|
||||
const pattern = RegExp(escapeRegExp(path), 'g');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue