Back

Variables passed to function at runtime - where is it stored?

  • 0
  • Self Hosted
  • Functions
  • Databases
mav8rick
28 Mar, 2024, 07:33

Hi,

Context: on 1.3.7 I need to move stuff between Development and Production before the full commissioning of the system.

I have some success with backing and restoring the 'appwrite' database from development to production. Both development and production uses S3 as storage and I can also sync the contents - which works OK.

Now, I have functions and those functions have the appwrite endpoint embedded in it so a mistake I made was that the client calling on the function on the production ended up with the function calling the development Appwrite server simply because I forgot to update the endpoint. Besides having to re-deploy those functions, where are those variables stored? I looked through the appwrite DB and it doesn't seem to be there....

TL;DR
Developers are trying to understand where variables are stored when passed to a function at runtime. They have experienced issues with endpoints calling the development server in production due to not updating the endpoint. The variables are not found in the appwrite DB. Solution: developers may need to re-deploy the functions to update the endpoint.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more