diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-11-30 10:40:38 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-11-30 10:40:38 +0100 |
commit | 0af83751908aac66029848d7464c332008f47b72 (patch) | |
tree | a362437d6b4a62fdb97fd964975d61263f7edbf3 /pyaggr3g470r/decorators.py | |
parent | Database is now indexed in background. (diff) | |
download | newspipe-0af83751908aac66029848d7464c332008f47b72.tar.gz newspipe-0af83751908aac66029848d7464c332008f47b72.tar.bz2 newspipe-0af83751908aac66029848d7464c332008f47b72.zip |
Minor changes (comment and logging).
Diffstat (limited to 'pyaggr3g470r/decorators.py')
-rw-r--r-- | pyaggr3g470r/decorators.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pyaggr3g470r/decorators.py b/pyaggr3g470r/decorators.py index 5cacb09f..3e808793 100644 --- a/pyaggr3g470r/decorators.py +++ b/pyaggr3g470r/decorators.py @@ -11,7 +11,8 @@ from pyaggr3g470r.models import Feed def async(f): """ - This decorator enables to send email in a new thread. + This decorator enables to launch a task (for examle sending an email or + indexing the database) in background. This prevent the server to freeze. """ def wrapper(*args, **kwargs): |