~ralsina/ubuntuone-client/exorcize-daemon

« back to all changes in this revision

Viewing changes to ubuntuone/syncdaemon/action_queue.py

  • Committer: Tarmac
  • Author(s): facundo at com
  • Date: 2012-09-17 12:47:14 UTC
  • mfrom: (1309.1.1 fix-progress-events)
  • Revision ID: tarmac-20120917124714-87spyityjwle9vkg
Put the "progress threshold" in 64K and log it in interaction interfaces only in TRACE (LP: #675065).

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
EREGEX = "^.+\\@(\\[?)[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,3}|[0-9]{1,3})(\\]?)$"
80
80
 
81
81
# progress threshold to emit a download/upload progress event: 64Kb
82
 
TRANSFER_PROGRESS_THRESHOLD = 64 * 1024 * 1024
 
82
TRANSFER_PROGRESS_THRESHOLD = 64 * 1024
83
83
 
84
84
 
85
85
class DeferredInterrupted(Exception):