Running background thread in UDF

Hi,
I’m writing UDF in python and i’m trying to run a background thread to perform some garbage collecting but no matter what I’ve tried it seems to always block the main thread.
Are there some limitations that don’t allow to run additional threads in UDF?

Hello @Pauligfast,
Welcome! Can you please provide a little more context? What are you trying to achieve? What version of InfluxDB are you using? Kapacitor UDFs?
Thank you :slight_smile: