CORE-POS / IS4C

Cooperative Operational Retail Environment
http://www.core-pos.com
GNU General Public License v2.0
63 stars 44 forks source link

Add configurable server, retry attempts/delay for SPINS upload #1141

Closed lgedgar closed 2 years ago

lgedgar commented 2 years ago

I'm hoping this is a reasonable implementation, but open to others. One particular network is not reliable and the upload fails frequently. This adds a simple retry with config settings for max number of attempts and delay between attempts. Also adds config for the FTP server so I could test locally; I figure it may be helpful to keep that for other testing.

Anyway let me know what you think, feel free to merge if you like..