issues
search
ormushq
/
ormus
Ormus - Customer Data Platform
MIT License
28
stars
19
forks
source link
feat(destination): add configurable TTL for task locking
#113
Closed
Ali-Farhadnia
closed
2 months ago
Ali-Farhadnia
commented
3 months ago
Add configurable TTL for task locking in Service
Modified Locker interface to use ttlSeconds instead of ttl.
Updated Service struct to include taskLockTTLSeconds.
Adjusted New function to accept taskLockTTLSeconds as a parameter.
Updated LockTaskByID method to use taskLockTTLSeconds for the lock TTL.
Adjusted webhook_delivery_worker to work with changes.
Modified etcd adapter Lock function to use ttlSeconds instead of ttl.
Add configurable TTL for task locking in Service