Home › Forums › kdb+ › Can I apply a timeout for a spectific query or client request? › Re: Can I apply a timeout for a spectific query or client request?
-
Hi,
Maybe something like this on the process servicing the queries:
funcTimeouts:`func1``func2`func3!60 5 10; .z.pg:{ system T , string funcTimeouts x 0; value x }
Not complete above as need to consider funcs not in the dictionary and possibly resetting T after. Also, above assumes you call a function over the handle in list format.
Adding logging to .z.pg might help you identify the issue too.
Let me know if this helps.
Patrick