Timeout exceeded error

When trying to copy content from one Couchbase bucket to another bucket I’m getting the following timeout exceeded

<N1QL Execution failed, OBJ={‘code’: 1080, ‘msg’: ‘Timeout 1m15s exceeded’, ‘retry’:True}>

Please help me on how to increase this query timeout.

Hi @Kratos
I’ve filed https://issues.couchbase.com/browse/DOC-9535 as it could indeed be clearer how to set a query timeout with the Python SDK.
Hopefully our Python expert @jcasey can answer your question.

Hi @graham.pople
Thanks for your response, I found the solution for this

bucket.n1ql_timeout = 3600
by this it’ll set the timeout to 3600seconds