• perviouslyiner@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year 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
      ·
      1 year 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.