From eae3034260b3abbb8da1deeddfef135b36eeb390 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Thu, 19 Dec 2024 21:36:17 +0900 Subject: state: expose aids and use instance id as key Fortify state store instances was specific to aids due to outdated design decisions carried over from the ego rewrite. That no longer makes sense in the current application, so the interface now enables a single store object to manage all transient state. Signed-off-by: Ophestra Umiker --- internal/app/seal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/app/seal.go') diff --git a/internal/app/seal.go b/internal/app/seal.go index d71553a2..3c49584a 100644 --- a/internal/app/seal.go +++ b/internal/app/seal.go @@ -218,7 +218,7 @@ func (a *app) Seal(config *fst.Config) error { // open process state store // the simple store only starts holding an open file after first action // store activity begins after Start is called and must end before Wait - seal.store = state.NewSimple(seal.RunDirPath, seal.sys.user.as) + seal.store = state.NewMulti(seal.RunDirPath) // initialise system interface with full uid seal.sys.I = system.New(seal.sys.user.uid) -- cgit v1.3.1