summaryrefslogtreecommitdiffstats
path: root/src/webserver_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webserver_main.cpp')
-rw-r--r--src/webserver_main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webserver_main.cpp b/src/webserver_main.cpp
index 901c180..a2da120 100644
--- a/src/webserver_main.cpp
+++ b/src/webserver_main.cpp
@@ -108,6 +108,10 @@ int main(int argc, char** argv)
redfish::RedfishService redfish(app);
+ // Keep the user role map hot in memory and
+ // track the changes using match object
+ crow::persistent_data::UserRoleMap::getInstance();
+
app.run();
io->run();
OpenPOWER on IntegriCloud