Kapacitor UDF Timeout value

Hi I’m wondering what is the optimal UDF timeout value and why? Currently only seeing timeout = “10s”