• perviouslyiner@lemm.ee
    cake
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    Is it necessary for programs to implement their own retry logic for when sqlite returns busy intead of success or failed code?

    • Luis Norambuena@programming.devOP
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      The error you would get is a timeout. The easiest way to wait longer is increasing the timeout of your connection. I think the default value for a timeout is 5 seconds.