Skip to content

Instantly share code, notes, and snippets.

@guewen
Created May 27, 2015 08:26
Show Gist options
  • Save guewen/f0bce6b9ccd0b5595978 to your computer and use it in GitHub Desktop.
Save guewen/f0bce6b9ccd0b5595978 to your computer and use it in GitHub Desktop.
Connector improvement ideas

Ideas

  • Graph view for jobs statistics (durations, throughputs, grouped by channels, ...)
  • Attribute in Retryable errors defining if the Retry should increment the retry count or not (allowing to do infinite retries on some types of errors like when we wait for a magento payment, when other retryable errors such as network errors still increase the retry count)
  • Define shortcuts for the imports as an API (from openerp.addons.connector import job, install_in_connector, ...)
  • See if we can remove install_in_connector() by checking in ir.module.module with caching of the result
  • Retryable errors with a Retry pattern (see OCA/connector-magento#26)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment