feat: trying to make image generation faster
This commit is contained in:
		| @@ -28,7 +28,7 @@ export async function listResource( | ||||
| ): Promise<MemoriumEntry | undefined> { | ||||
|   const url = `${SERVER_URL}/resources/${id}`; | ||||
|   try { | ||||
|     const response = await fetch(url); | ||||
|     const response = await fetch(url, { signal: AbortSignal.timeout(5000) }); | ||||
|     if (response.ok) { | ||||
|       const json = await response.json(); | ||||
|       if (json.type == "dir") { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user