summaryrefslogtreecommitdiff
path: root/doc/common.config.txt
blob: 1575d8cb48394543e663dea848f18be6aa88d50e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

=== Common configuration parameters ===

  job_name::
    Name for particulat job the script does.  Script will log under this name
    to logdb/logserver.  The name is also used as default for PgQ consumer name.
    It should be unique.

  pidfile::
    Location for pid file.  If not given, script is disallowed to daemonize.

  logfile::
    Location for log file.

  loop_delay::
    If continuisly running process, how long to sleep after each work loop,
    in seconds.  Default: 1.
 
  connection_lifetime::
    Close and reconnect older database connections.

  use_skylog::
     foo.

ifdef::pgq[]

=== Common PgQ consumer parameters ===

  queue_name::
    Queue name to attach to.
    No default.

  consumer_name::
    Consumers ID to use when registering.
    Default: %(job_name)s

endif::pgq[]