From cff2e5b811467c2fb398566a60c0ab36d0f0753e Mon Sep 17 00:00:00 2001 From: arzumify Date: Wed, 8 Jan 2025 19:10:18 +0000 Subject: [PATCH] Made storage fork the ISM processor Signed-off-by: arzumify --- services-src/storage/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services-src/storage/main.go b/services-src/storage/main.go index b08baa4..7259e2c 100644 --- a/services-src/storage/main.go +++ b/services-src/storage/main.go @@ -18,9 +18,11 @@ var ServiceInformation = library.Service{ Name: "Storage", Permissions: library.Permissions{ Authenticate: false, // This service does not require authentication + Router: false, // This service does not serve web pages Database: true, // This service requires database access to store quotas BlobStorage: false, // This service *is* the blob storage InterServiceCommunication: true, // This service does require inter-service communication + Resources: false, // This service does not require access to its resource directory }, ServiceID: uuid.MustParse("00000000-0000-0000-0000-000000000003"), } @@ -288,7 +290,7 @@ func processInterServiceMessages(information *library.ServiceInitializationInfor func Main(information *library.ServiceInitializationInformation) { // Start up the ISM processor - information.StartISProcessor() + go information.StartISProcessor() // Get the database connection conn, err := information.GetDatabase()