mirror of
https://github.com/lordmathis/llamactl.git
synced 2025-11-06 00:54:23 +00:00
Add LastRequestTime method and LRU eviction logic for instance management
This commit is contained in:
@@ -23,6 +23,7 @@ type InstanceManager interface {
|
||||
StartInstance(name string) (*instance.Process, error)
|
||||
IsMaxRunningInstancesReached() bool
|
||||
StopInstance(name string) (*instance.Process, error)
|
||||
EvictLRUInstance() error
|
||||
RestartInstance(name string) (*instance.Process, error)
|
||||
GetInstanceLogs(name string) (string, error)
|
||||
Shutdown()
|
||||
|
||||
Reference in New Issue
Block a user