diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-04-26 12:57:58 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2022-08-17 12:10:26 +0200 |
commit | 9b4b72826ade5ab1bc7fb06048e62910ef607cd8 (patch) | |
tree | ef8d14e06608c0491361eb9d2666f8523647272e /lib/base.php | |
parent | 312b719acf686f51065e83290cd88704d703a50c (diff) | |
download | nextcloud-server-9b4b72826ade5ab1bc7fb06048e62910ef607cd8.tar.gz nextcloud-server-9b4b72826ade5ab1bc7fb06048e62910ef607cd8.zip |
Reopen sessions if we need to write to them instead of keeping them open
Sessions are a locking operation until we write close them, so close
them early and reopen later in case we want to write to them
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index 54b7a5e3629..e787559c4c1 100644 --- a/lib/base.php +++ b/lib/base.php @@ -456,6 +456,7 @@ class OC { } $session->set('LAST_ACTIVITY', time()); + $session->close(); } /** |