Is it possible to set the query timeout with the redisgraph.js? I think the default is very short. seems to be like 4 seconds.
While performing long-running queries, other attempts within the same application cant access the graph. Im getting RedisTimeoutException for simple CREATE queries.
How can I overcome this?
RedisGraph doesn’t supports query timeout, if such functionality is added it is on the client side, I’m not familiar with redisgraph.js maybe @DvirDukhan can help here.
With regard to your second question, for a WRITE query to finish its execution it needs to acquire a WRITE lock, as long as there’s a READ query processing the lock can’t be acquired. this is probably why your WRITE queries are delayed.