|
|
|
|
|
by scott_karana
3303 days ago
|
|
Practically speaking, how would you use these for noting starts and ends of long-running jobs, say? Would you set the interval starting time, but leave the end of the interval as "present"/infinity? And then update the end of the interval when the job finished? Wouldn't you also need to have a cleanup function to manually "close" intervals if the worker crashed and restarted? |
|
I wouldn't have the worker process handle this itself though, as you would need some form of cleanup. But you'd need the same with two individual columns