Made storage fork the ISM processor
Signed-off-by: arzumify <jliwin98@danwin1210.de>
This commit is contained in:
parent
1e106bb4ca
commit
cff2e5b811
|
@ -18,9 +18,11 @@ var ServiceInformation = library.Service{
|
||||||
Name: "Storage",
|
Name: "Storage",
|
||||||
Permissions: library.Permissions{
|
Permissions: library.Permissions{
|
||||||
Authenticate: false, // This service does not require authentication
|
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
|
Database: true, // This service requires database access to store quotas
|
||||||
BlobStorage: false, // This service *is* the blob storage
|
BlobStorage: false, // This service *is* the blob storage
|
||||||
InterServiceCommunication: true, // This service does require inter-service communication
|
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"),
|
ServiceID: uuid.MustParse("00000000-0000-0000-0000-000000000003"),
|
||||||
}
|
}
|
||||||
|
@ -288,7 +290,7 @@ func processInterServiceMessages(information *library.ServiceInitializationInfor
|
||||||
|
|
||||||
func Main(information *library.ServiceInitializationInformation) {
|
func Main(information *library.ServiceInitializationInformation) {
|
||||||
// Start up the ISM processor
|
// Start up the ISM processor
|
||||||
information.StartISProcessor()
|
go information.StartISProcessor()
|
||||||
|
|
||||||
// Get the database connection
|
// Get the database connection
|
||||||
conn, err := information.GetDatabase()
|
conn, err := information.GetDatabase()
|
||||||
|
|
Loading…
Reference in New Issue