forked from ebhomengo/niki
todo for implement scheduler and consumer
This commit is contained in:
parent
ef60a6516d
commit
5f57c9aa44
|
|
@ -0,0 +1,5 @@
|
|||
package scheduler
|
||||
|
||||
// TODO: implement cron job or scheduler
|
||||
// To check the expiration time in the MYSQL database and change the shopping cart status to expired
|
||||
// and clear the cart from the cache
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
package consumer
|
||||
|
||||
// TODO: implement subscriber or consumer
|
||||
// When the shopping cart is successfully paid
|
||||
// the service waits for a message in the broker to change the cart status to paid and clear it from the cache.
|
||||
Loading…
Reference in New Issue