A
Understanding the Worker Process?
Regarding Cron, I can also see that active changes are happening: https://github.com/twentyhq/twenty/issues/5497 which I presume IS_GMAIL_SYNC_V2_ENABLED would mean there is no need to execute the cron command?...
8 replies
Understanding the Worker Process?
I have no issues with overwriting the command on the worker process using
yarn worker:prod
But the command yarn command:prod cron:messaging:gmail-fetch-messages-from-cache
Is this command run post setup once the docker server instance is up and running? Aka the docker compose/or other deployment, executes the docker container as normal with yarn start:prod
and then you have to start a shell in docker to execute the command or is it a direct replacement for yarn start:prod
?
What I am concerned about here is that it suggests the need for a startup script of sorts8 replies
Understanding the Worker Process?
@charles Hi again haha!
Regarding this then:
env variable: MESSAGE_QUEUE_TYPE=pg-boss
env variable: CALENDAR_PROVIDER_GOOGLE_ENABLED=true
env variable: MESSAGING_PROVIDER_GMAIL_ENABLED=true
env variable: AUTH_GOOGLE_CLIENT_ID, AUTH_GOOGLE_CLIENT_SECRET, AUTH_GOOGLE_APIS_CALLBACK_URL
are these the environment variables that the worker requires or are more needed on top of this? As I presume Server URL/db/redis may be required if in use
8 replies