diff --git a/DEV.md b/DEV.md index 54a6074..11f7437 100644 --- a/DEV.md +++ b/DEV.md @@ -26,5 +26,6 @@ - Manually check all envs - Add url of the localhost server to the spec only in dev env - Post request confirmation flow +- Remove text body parsers? (chatGPT doesn't play well with plain text body) > we can change the API for the plugins whenever we want - we don't need to think about backward compatibility that much because the API is understood again everytime the plugin is used. diff --git a/src/sessions/session.ts b/src/sessions/session.ts index 9a45502..92bb0b1 100644 --- a/src/sessions/session.ts +++ b/src/sessions/session.ts @@ -70,6 +70,14 @@ export class CachedSession { this.cacheID = customCacheID || id sessionCache.set(this.cacheID, this) + // Temporary hack to fix the clock drift issue for Alpine Linux + this.session.filesystem?.write('/etc/chrony/chrony.conf', `initstepslew 0.5 pool.ntp.org + makestep 0.5 -1`).then(() => { + this.startProcess({ + cmd: `rc-service chronyd restart`, + }) + }) + return this }