iwf
iwf copied to clipboard
Replace firingUnixTimestampSeconds with duration field
- more accurate to use relative time
- easier for unit test
- cleaner and easier to read the history events
https://github.com/indeedeng/iwf/pull/388 NOTE: This will need more work than this PR due to continueAsNew -- the duration value cannot be used in next run, because after continueAsNew, the workflow.now() has changed. We have to also write down the start time, or convert it to firingUnixTimestamp when the timer started, in order to pass to next run
https://github.com/indeedeng/iwf/pull/393