Skip to content

Job hangs forever on lost MongoDB connection #64

Open
@claustres

Description

@claustres

Steps to reproduce

Create a cron job containing hooks to connect/disconnect to/from MongoDB. Let MongoDB connection timeout at some point during job run (eg due to network failure).

Expected behavior

The job should stop properly in error state and should try to reconnect on next run if possible.

Actual behavior

The job hangs forever.

System configuration

NodeJS version: 8.9

Krawler version: 0.8

Operating System: Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status

      Bugs

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions