mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-22 16:03:19 +01:00
Merge pull request #880 from typonaut/patch-7
Update configuration.rst to add locale information
This commit is contained in:
commit
68b9977037
@ -45,6 +45,12 @@ You're now up and running! Happy ticketing.
|
||||
|
||||
Queue settings via admin interface
|
||||
----------------------------------
|
||||
Locale
|
||||
^^^^^^
|
||||
The *Locale* value must match the value in the ``locale`` column in the ``helpdesk_emailtemplate`` table if you wish to use those templates. For default installations/templates those values are ``cs``, ``de``, ``en``, ``es``, ``fi``, ``fr``, ``it``, ``pl``, ``ru`` and ``zh``.
|
||||
|
||||
If you want to use a different *Local* then you will need to generate/edit the necessary templates (and set the value in the ``locale`` column) for those locales. This includes when using language variants, such as ``de-CH``, ``en-GB`` or ``fr-CA`` for example.
|
||||
|
||||
E-Mail Check Interval
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
This setting does not trigger e-mail collection, it merely throttles it. In order to trigger e-mail collection you must run a crontab to trigger ``manage.py get_email``. The setting in *E-Mail Check Interval* prevents your crontab from running the e-mail trigger more often than the interval set.
|
||||
@ -54,3 +60,13 @@ For example, setting *E-Mail Check Interval* to ``5`` will limit the collection
|
||||
The cron job triggers the collection of e-mail, *E-Mail Check Interval* restricts how often the trigger is effective.
|
||||
|
||||
To remove this limit, set *E-Mail Check Interval* to ``0``.
|
||||
|
||||
Potential problems
|
||||
""""""""""""""""""
|
||||
There is potential for a timing clash to prevent triggering of mail collection if *E-Mail Check Interval* and your crontab interval are identical. Because the crontab runs fractionally before, or at exactly the same time as *E-Mail Check Interval* is run, if the timings for both are identical then every second call by the crontab will be ignored by *E-Mail Check Interval* because its interval has yet to expire.
|
||||
|
||||
The result is that if both crontab and *E-Mail Check Interval* are set to run at five minute intervals, then mail may actually only be collected every ten minutes. You will see the evidence of this in the helpdesk mail log, or in the logs of your mail server.
|
||||
|
||||
To avoid this problem set the crontab and *E-Mail Check Interval* to marginally different values (or set *E-Mail Check Interval* to ``0``). *E-Mail Check Interval* will only take an integer value, in minutes, so if you want a five minute interval between mail checks, then you will either have to set *E-Mail Check Interval* to ``4`` and the crontab interval to ``300 seconds``, or the *E-Mail Check Interval* to ``5`` and the crontab interval to ``305 seconds``.
|
||||
|
||||
The crontab interval overrides the *E-Mail Check Interval*, and resets the *E-Mail Check Interval* each time it fires, as long as the crontab interval is greater than *E-Mail Check Interval*.
|
||||
|
Loading…
Reference in New Issue
Block a user