OCI Functions Timeout When Using Python SDK with Long-Running Tasks
I'm relatively new to this, so bear with me. I'm experiencing a timeout scenario with OCI Functions when trying to execute long-running tasks using the Python SDK. My function is intended to process large datasets, but it consistently times out after 60 seconds, even though the processing logic should take longer. I've set the function's maximum timeout to 300 seconds in the configuration, but it seems to be ignored. Here's the configuration I used when creating the function: ```bash oci fn function create --compartment-id <compartment_id> --app-id <app_id> --display-name my_function --image <image_id> --memory 128 --timeout 300 ``` In my function code, I'm using `time.sleep()` to simulate processing time, which I've set to 120 seconds: ```python import time def handler(ctx, data: bytes = None): time.sleep(120) # Simulating long processing return 'Processing complete!' ``` When I invoke the function, I see this behavior in the logs: ``` behavior: Function timed out after 60 seconds ``` I’ve confirmed that the function configuration shows a timeout of 300 seconds when I check via `oci fn function get --function-id <function_id>`. I've also ensured that I'm using the latest OCI Python SDK version 2.39.0. I’ve tried redeploying the function and updating the configuration multiple times, but the scenario continues. Does anyone have any insights into why the timeout setting isn't being honored or how I can troubleshoot this further? Any help would be greatly appreciated! For context: I'm using Python on Windows. Am I missing something obvious?