Skip to content

V0.2.0 'Thread Passing'

Compare
Choose a tag to compare
@justincpresley justincpresley released this 26 Dec 08:13
· 6 commits to master since this release

V0.2.0 'Thread Passing'

Most often, database connections are specific to a certain thread throwing an error if used in another. To provide the most flexibility, this release allows one to initialize the storage later on (possibly in another thread), When creating the instance, just set initialize to False, and ensure that the function initialize is called in the chosen thread.

Libraries and Users that use this library should ensure that initialized is called if the storage is of DiskStorage and it is thread specific.