Show
Ignore:
Timestamp:
05/28/07 18:47:32 (17 years ago)
Author:
jerome
Message:

Rewrote PJL accounter using threads and non-blocking I/O.
Move shared constants to a dedicated module.

Files:
1 copied

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/constants.py

    r3133 r3175  
    22# -*- coding: ISO-8859-15 -*- 
    33# 
    4 # PyKota : Print Quotas for CUPS and LPRng 
     4# PyKota : Print Quotas for CUPS 
    55# 
    66# (c) 2003, 2004, 2005, 2006, 2007 Jerome Alet <alet@librelogiciel.com> 
     
    2121# $Id$ 
    2222# 
     23 
     24"""This module contains the definitions of constants used by PyKota.""" 
     25 
     26ITERATIONDELAY = 4      # time to sleep between two loops 
     27STABILIZATIONDELAY = 5  # number of consecutive times the idle status must be seen before we consider it to be stable 
     28NOPRINTINGMAXDELAY = 60 # The printer must begin to print within 60 seconds by default.