mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
feat(ui): remove keepUnusedDataFor for dynamic prompts
This query can have potentially large responses. Keeping them around for 24 hours essentially a hardcoded memory leak. Use the default for RTKQ of 60 seconds.
This commit is contained in:
@@ -21,7 +21,6 @@ export const utilitiesApi = api.injectEndpoints({
|
||||
body: arg,
|
||||
method: 'POST',
|
||||
}),
|
||||
keepUnusedDataFor: 86400, // 24 hours
|
||||
// We need to fetch this on reconnect bc the user may have changed the text field while
|
||||
// disconnected.
|
||||
providesTags: ['FetchOnReconnect'],
|
||||
|
||||
Reference in New Issue
Block a user