mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
perf(ui): reduce canvas max history to 100
This should further insulate canvas from excessive GCs.
This commit is contained in:
parent
69ec14c7bb
commit
b6ad33ac1a
@ -37,7 +37,7 @@ import { CANVAS_GRID_SIZE_FINE } from './constants';
|
|||||||
/**
|
/**
|
||||||
* The maximum history length to keep in the past/future layer states.
|
* The maximum history length to keep in the past/future layer states.
|
||||||
*/
|
*/
|
||||||
const MAX_HISTORY = 128;
|
const MAX_HISTORY = 100;
|
||||||
|
|
||||||
const initialLayerState: CanvasLayerState = {
|
const initialLayerState: CanvasLayerState = {
|
||||||
objects: [],
|
objects: [],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user