Re: Reduce number of imports

2014-07-02 Thread Joel Samuelsson
Once per supervisor / worker, I should say. Best regards, Joel 2014-07-01 14:38 GMT+02:00 Joel Samuelsson samuelsson.j...@gmail.com: We are using storm bolts written in python. In the bolt we have a dependency that takes a lot of time to import. Is there a way to make the import only once

Reduce number of imports

2014-07-01 Thread Joel Samuelsson
We are using storm bolts written in python. In the bolt we have a dependency that takes a lot of time to import. Is there a way to make the import only once per instance of the bolt? Best regards, Joel