Jump to content

Martin Pengelly-Phillips

Members
  • Posts

    116
  • Joined

  • Last visited

  • Days Won

    15

Reputation Activity

  1. Like
    Martin Pengelly-Phillips got a reaction from Remus Avram in ftrack_api threadsafe   
    > @Martin Pengelly-Phillips: I am interested how are you using the session. Are you creating a new session for each query / commit?
    No, we don't create a new session for each query or commit, as that would likely be redundant and slow. However, we often have a session (or two) in background threads in order to allow a main UI thread to continue unblocked. We also often run multiple sessions in background threads for event processing in order to avoid event deadlock.
×
×
  • Create New...