Hi @isaiahxcruz,
this has been asked before:
Extending timeout for typescript function - Ask the Community - Palantir Developer Community
there is no current way to extend the timeout beyond the 60 second of total runtime.
As stated in the docs: Functions • Overview • Palantir
Serverless Function timeout
Currently, each serverless Function is allocated a total of 60 seconds of wall time to run. This includes 30 seconds of CPU time and a 30-second buffer for any network delays. The Function will fail if the timeout is exceeded.
Deployed Function timeout
Currently, each deployed Function is allocated a total of 60 seconds of wall time to run. The Function will fail if the timeout is exceeded.
As @Hashir was mentioning, any additional information you can share about the intended logic / use case could help. Maybe code optimization is required?