Skip to content

Make timeout for shell.run configurable #1172

Open
@gorootde

Description

@gorootde

I am using spacescript / a custom plug to call a CLI that will dump my calendar data as JSON. Such a call can take up to 30 seconds or even longer (depending on the amount of data returned).

Silverbullet aborts the shell.run sys call after 30 seconds, since this is the default timeout set here

I'd like to make this timeout configurable. Preferably per individual system call.

I am willing to contribute this, however I'd need some hint on how to add an additional parameter to the sys call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions