mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Add timeout to avatar fetches and avoid blocking on profile syncs
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user