summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorRyan Mulligan <ryan@ryantm.com>2021-09-23 08:22:53 -0700
committerRyan Mulligan <ryan@ryantm.com>2021-09-23 09:59:31 -0700
commitf933c68374b9c6195dc74d26c95fc9bf240fead8 (patch)
tree8ccb6e28d8e8a8cf180968493252b0bcb285154d /pkgs/development/python-modules/rangehttpserver
parente3cbf57cac4bcbd76b155a5d0b9103996916549a (diff)
discourse: enable restoring backups bigger than RAM
When restoring a backup, discourse decompresses the backup archive in the /share/discourse/tmp dir. Before this change, it is linked to /run which is typically backed by memory, so the backup will fail to restore if you do not have enough memory on your system to contain the backup. This has already happened to me on two small forums. This moves tmp to the StateDirectory /var/lib/discourse/tmp which is typically backed by disk.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions