-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sidecar 方式修改时间会因缺少环境变量导致报错 #25
Comments
for modify_process_pid in ${child_pids[@]} |
没有携带delay_nanosecond 环境变量会导致执行报错,我手动执行./bin/watchmaker -pid $modify_process_pid -sec_delta $delay_second -clk_ids "CLOCK_REALTIME,CLOCK_MONOTONIC 可以正常的修改时间 |
for modify_process_pid in ${child_pids[@]} command="./bin/watchmaker -pid $modify_process_pid -clk_ids CLOCK_REALTIME,CLOCK_MONOTONIC" if [ -n "$delay_second" ]; then if [ -n "$delay_nanosecond" ]; then eval $command |
非常感谢提出问题,可以提个pr,一起完善。 |
https://github.com/CloudNativeGame/fake-time-injector?tab=readme-ov-file#%E6%9B%BF%E4%BB%A3%E6%96%B9%E6%A1%88
The text was updated successfully, but these errors were encountered: