Skip to content

Commit

Permalink
Added note on disabling workers to the deployment docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed Jul 9, 2024
1 parent 2ead5db commit dcf28e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Guide/deployment.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ Make sure you put this into the `flake-parts.lib.mkFlake` block. The final `flak
+ sessionSecret = "xxx";
+ };
+
+ # Job workers are active by default. Disable them like this:
+ # systemd.services.worker.enable = pkgs.lib.mkForce false;
+
+ # Add swap to avoid running out of memory during builds
+ # Useful if your server have less than 4GB memory
+ swapDevices = [ { device = "/swapfile"; size = 8192; } ];
Expand Down

0 comments on commit dcf28e6

Please sign in to comment.