Skip to content

Request: timeout in ChunkRecordingExecutor (ProcessPoolExecutor) #813

Closed
@miketrumpis

Description

@miketrumpis

I've been having some stalls in the ProcessPoolExecutor when creating some WaveformExtractor objects. Unfortunately, there aren't any factors that occur to me for debugging this. However, I made a quick fork from the v0.94.0 to include a timeout for the map call in the ProcessPoolExecutor, which at least raises an exception instead of hanging forever.

Very trivial changes. Happy to rebase this and PR

https://github.com/miketrumpis/spikeinterface/blob/multiproc/spikeinterface/core/job_tools.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions