darry nie created THRIFT-5315: --------------------------------- Summary: TimerManager can't work, if we adjust time to old time. Key: THRIFT-5315 URL: https://issues.apache.org/jira/browse/THRIFT-5315 Project: Thrift Issue Type: Bug Components: C++ - Library Affects Versions: 0.12.0 Reporter: darry nie Attachments: image-2020-11-18-14-50-09-613.png, image-2020-11-18-14-50-45-116.png
Description: 1.if current time is 9:00, now I adjust time to 3:00. timer can't work. 2.if current time is 9:00, now I adjust time to 12:00. timer can work. and i read the source code,found timer isrelying on the system time. !image-2020-11-18-14-50-09-613.png! !image-2020-11-18-14-50-45-116.png! Question: gettimeofday is get the system time. How can I choose the clock source, thrift time is relying to the startup time not system time. -- This message was sent by Atlassian Jira (v8.3.4#803005)