File: common.config.txt

package info (click to toggle)
skytools 2.1.8-2.2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,980 kB
  • ctags: 1,543
  • sloc: sql: 6,635; python: 6,237; ansic: 2,799; makefile: 308; sh: 268
file content (38 lines) | stat: -rw-r--r-- 817 bytes parent folder | download
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 ===

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

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

endif::pgq[]