udpate
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jeffrey C. Ollie 2023-04-16 17:10:11 -05:00
parent dab061c471
commit 42c73ef5f2
Signed by: jeff
GPG key ID: 6F86035A6D97044E
2 changed files with 14 additions and 13 deletions

View file

@ -2,11 +2,11 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1681465517, "lastModified": 1681648924,
"narHash": "sha256-EasJh15/jcJNAHtq2SGbiADRXteURAnQbj1NqBoKkzU=", "narHash": "sha256-pzi3HISK8+7mpEtv08Yr80wswyHKsz+RP1CROG1Qf6s=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "abe7316dd51a313ce528972b104f4f04f56eefc4", "rev": "f294325aed382b66c7a188482101b0f336d1d7db",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -13,7 +13,7 @@
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
}; };
py = pkgs.python311.override { py = pkgs.python3.override {
packageOverrides = final: prev: { packageOverrides = final: prev: {
django = prev.django_4; django = prev.django_4;
}; };
@ -171,20 +171,21 @@
name = "uwsgi.ini"; name = "uwsgi.ini";
text = '' text = ''
[uwsgi] [uwsgi]
master buffer-size = 32768
chdir = ${self.packages.${system}.healthchecks}/app
die-on-term die-on-term
http-socket = :8000 disable-write-exception
enable-threads
harakiri = 10 harakiri = 10
http-socket = :8000
master
module = hc.wsgi:application
plugins = python
post-buffering = 4096 post-buffering = 4096
processes = 4 processes = 4
enable-threads
threads = 1
chdir = ${self.packages.${system}.healthchecks}/app
module = hc.wsgi:application
thunder-lock
disable-write-exception
static-map = /static=${self.packages.${system}.healthchecks}/static static-map = /static=${self.packages.${system}.healthchecks}/static
buffer-size = 32768 threads = 1
thunder-lock
''; '';
}; };
in in