tdex-network / tdex-daemon

Go implementation of the TDEX Beta Daemon
https://tdex.network
MIT License
11 stars 13 forks source link

Exit process in case GrpcService returns error #652

Closed sekulicd closed 1 year ago

sekulicd commented 1 year ago

This closes #651

@tiero @altafan please review.

altafan commented 1 year ago

@dusan the problem with log.Fatal is that the deferred functions are not executed.

sekulicd commented 1 year ago

This hangs cause of this and its too long cause in my case it is TDEX_CRAWL_INTERVAL=50000000000(default is 5K). @tiero @altafan i guess we can close this PR and related issue.