sdec-brasil / invoice-explorer

API + Interface Pública para Resgate de Informações do SDEC
MIT License
1 stars 0 forks source link

Create a mecanism to update invoice status from 'pendente' to 'atrasado' #11

Open dbeyda opened 5 years ago

tloriato commented 5 years ago

I think we could do that "on-demand". What do you think?

tloriato commented 5 years ago

A problem that would arise is that we probably should keep the worker as standalone and complete as possible. And this would be against that.

tloriato commented 5 years ago

Actually, scratch that. Let's schedule an event to mark invoices as "late" every 24hours. We just need Henrique to tell us when are invoices due.