Skip to content

Stop NoteDiscovery gracefully #158

@Zheltyy

Description

@Zheltyy

Currently when i use docker stop notediscovery it takes 10 secounds for the NoteDiscovery container to stop.
The exit code that docker says the container was killed in is (SIGKILL):

CONTAINER ID   IMAGE                                       COMMAND                  CREATED              STATUS                            PORTS             NAMES
656c859470f8   ghcr.io/gamosoft/notediscovery:latest       "/bin/sh -c 'uvicorn…"   About a minute ago   Exited (137) 13 seconds ago                         notediscovery

It should be an easy fix to listen to when docker requests a shut down and then shutdown NoteDiscovery gracefully (but i can just ask ai to do it and that will only bring more problems).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions