• bleistift2OP
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 days ago

    Why should the environment make a difference when it comes to receiving the SIGINT when the process gets killed?

      • Maddier1993@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        2 days ago

        Oops yeah you’re right. Sorry OP. There’s nothing better than using a database that flushes to disk often enough that missing a small chunk of data due to interruptions should be fine. Probably some kind of memory mapped IO on top of eager writing filesystem should do a good enough job.