SergeoLacruz / inventree-supplier-sync

a plugin to syncronize the InvenTree database with the supplier Mouser
MIT License
4 stars 1 forks source link

FR: sync interval configure #2

Open DS1705 opened 1 year ago

DS1705 commented 1 year ago

it would be handy if i could change the interval from within inventree

SergeoLacruz commented 1 year ago

What is the use case for this. You can change it easily in the code https://github.com/SergeoLacruz/inventree-supplier-plugin/blob/af3f8462e26061dc61e0998064b5b598e6bd66ea/inventree_supplier/supplier_sync.py#LL39C15-L39C15 Usually there is no need to change it dynamically. Anyhow you can give it a try if a setting can be added inside the plugin config.