[ckan-changes] [ckan/ckan] 2e6afc: [#2856] Create DataPusher task timestamps using UT...
    GitHub 
    noreply at github.com
       
    Wed May 25 10:26:50 UTC 2016
    
    
  
  Branch: refs/heads/2856-datapusher-tasks-utc
  Home:   https://github.com/ckan/ckan
  Commit: 2e6afc34f7b4e2b946188390c749de5ed97bd2fe
      https://github.com/ckan/ckan/commit/2e6afc34f7b4e2b946188390c749de5ed97bd2fe
  Author: amercader <amercadero at gmail.com>
  Date:   2016-05-25 (Wed, 25 May 2016)
  Changed paths:
    M ckanext/datapusher/logic/action.py
    M ckanext/datapusher/tests/test_action.py
  Log Message:
  -----------
  [#2856] Create DataPusher task timestamps using UTC
When an upload to the DataPusher finishes we check
`resource['last_modified']` (in UTC) against `task['last_updated']`
to check whether it changed during the previous upload and resubmit it.
As `task['last_updated']` was created using `datetime.now()` this could
lead to infinite upload loops.
Discussion is here:
https://github.com/ckan/ckan/issues/2856#issuecomment-220383735
    
    
More information about the ckan-changes
mailing list