safe to have multiple clients call user:update-info ?
Friday, 30 September 2016 · 2 messages
MG
Maximilian Gärber30 Sep 2016 09:33 #
Hi,
could not verify in the BaseX source code, so can I assume this is safe, since it is a file on the file system (users.xml)?
Background: I want to add locking information there, so everytime an user requests to checkout a file, it should be saved there.
At the same time, I have to be sure nobody else can write at the same time.
Regards,
Max
CG
Christian Grün30 Sep 2016 09:41 #
A short one: yep, it’s safe ;)
Quoted text · Maximilian Gärber · 15 lines
On Fri, Sep 30, 2016 at 9:33 AM, Maximilian Gärber <mgaerber at arcor.de> wrote: > Hi, > > could not verify in the BaseX source code, so can I assume this is > safe, since it is a file on the file system (users.xml)? > > > Background: I want to add locking information there, so everytime an > user requests to checkout a file, it should be saved there. > > At the same time, I have to be sure nobody else can write at the same time. > > Regards, > > Max
Written for BaseX 8.5. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery