~ruther/guix-local

122396075f12b013b6bde56dafb895587b95bc9d — Tobias Geerinckx-Rice 4 years ago 58649b8
services: cups: Update default timeouts.

Upstream raised these back in 2019 with CUPS 2.3.0.

* gnu/services/cups.scm (<cups-configuration>): Raise default
‘multiple-operation-timeout’ and ‘timeout’ from 300 to 900 seconds.
* doc/guix.texi (Printing Services): Adjust accordingly.
2 files changed, 4 insertions(+), 4 deletions(-)

M doc/guix.texi
M gnu/services/cups.scm
M doc/guix.texi => doc/guix.texi +2 -2
@@ 19540,7 19540,7 @@ Defaults to @samp{1048576}.
Specifies the maximum amount of time to allow between files in a
multiple file print job, in seconds.

Defaults to @samp{300}.
Defaults to @samp{900}.
@end deftypevr

@deftypevr {@code{cups-configuration} parameter} string page-log-format


@@ 19751,7 19751,7 @@ Defaults to @samp{#f}.
@deftypevr {@code{cups-configuration} parameter} non-negative-integer timeout
Specifies the HTTP request timeout, in seconds.

Defaults to @samp{300}.
Defaults to @samp{900}.

@end deftypevr


M gnu/services/cups.scm => gnu/services/cups.scm +2 -2
@@ 702,7 702,7 @@ in seconds.  Set to 0 to disable cancellation of \"stuck\" jobs.")
   "Specifies the maximum size of the log files before they are rotated, in
bytes.  The value 0 disables log rotation.")
  (multiple-operation-timeout
   (non-negative-integer 300)
   (non-negative-integer 900)
   "Specifies the maximum amount of time to allow between files in a multiple
file print job, in seconds.")
  (page-log-format


@@ 847,7 847,7 @@ protocol version to TLS v1.1.")
   "Specifies whether the scheduler requires clients to strictly adhere to the
IPP specifications.")
  (timeout
   (non-negative-integer 300)
   (non-negative-integer 900)
   "Specifies the HTTP request timeout, in seconds.")
  (web-interface?
   (boolean #f)