Welcome Guest, Not a member yet? Register   Sign In
Locking a config variable
#3

(06-19-2015, 09:43 AM)gadelat Wrote: Changes of config items using config->set_item are only done in memory. It doesn't save changes to config file. So if one script changes config item and meanwhile another script reads the value, second script will not see the changes.

I checked & agree that you are correct. So I need to save them either in file or database and maintain read/write lock or concurrency?  
Reply


Messages In This Thread
Locking a config variable - by amit - 06-19-2015, 06:00 AM
RE: Locking a config variable - by gadelat - 06-19-2015, 09:43 AM
RE: Locking a config variable - by amit - 06-19-2015, 11:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB