ref: ab33792c19634aa6fecbd9604654e7719a2255a2
parent: f94984546e9c2debb2e7351163f6feec14ac9886
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Wed Sep 16 04:53:35 EDT 2020
don't spawn _too_ many procs with av1 decoding
--- a/main.c
+++ b/main.c
@@ -154,6 +154,8 @@
nproc = atoi((s = getenv("NPROC")) != nil ? s : "1");
if(nproc < 1)
nproc = 1;
+ else if(nproc > 3)
+ nproc = 3;
srand(nanosec());
if(initdraw(nil, nil, "treason") < 0)