kodexa 7.0.12396164812__py3-none-any.whl → 7.0.12396563598__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -96,6 +96,7 @@ class SqliteDocumentPersistence(object):
96
96
  self.cursor.execute("PRAGMA journal_mode=OFF")
97
97
  self.cursor.execute("pragma temp_store = memory")
98
98
  self.cursor.execute("pragma mmap_size = 30000000000")
99
+ self.cursor.execute("pragma cache_size = 10000") # Set the cache size to 10,000 pages
99
100
 
100
101
  try:
101
102
  # We need to populate node_type_id_by_name
@@ -835,9 +836,10 @@ class SqliteDocumentPersistence(object):
835
836
  self.connection.commit()
836
837
  self.cursor.execute("VACUUM")
837
838
  self.cursor = self.connection.cursor()
838
- self.cursor.execute("PRAGMA journal_mode=OFF")
839
+ self.cursor.execute("pragma journal_mode=OFF")
839
840
  self.cursor.execute("pragma temp_store = memory")
840
841
  self.cursor.execute("pragma mmap_size = 30000000000")
842
+ self.cursor.execute("pragma cache_size = 10000") # Set the cache size to 10,000 pages
841
843
 
842
844
  def dump_in_memory_db_to_file(self):
843
845
  # Connect to a new or existing database file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kodexa
3
- Version: 7.0.12396164812
3
+ Version: 7.0.12396563598
4
4
  Summary: Python SDK for the Kodexa Platform
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -13,7 +13,7 @@ kodexa/model/entities/product.py,sha256=ZDpHuBE_9FJ-klnkyBvTfPwYOqBkM1wraZMtHqNA
13
13
  kodexa/model/entities/product_subscription.py,sha256=UcmWR-qgLfdV7VCtJNwzgkanoS8nBSL6ngVuxQUK1M8,3810
14
14
  kodexa/model/model.py,sha256=jpGYJbFf2kzaBarGLvd_4q6u6iMtbgjCFIhXwqsTkzY,118615
15
15
  kodexa/model/objects.py,sha256=4Oyjs6omlHfwziAK1m2tFk4jSnzN7lFdXACog07ed1c,185124
16
- kodexa/model/persistence.py,sha256=PTh9jmqYCDuWfiuCssLttFaYWiMA_fCiwjgsYDW4AhE,68281
16
+ kodexa/model/persistence.py,sha256=AVITArEFBnl3UWL0-L7dz_Y35sxaLq0Dys-vFV_kH4k,68471
17
17
  kodexa/model/utils.py,sha256=6R-3rFiW9irBwj0Mq5yhp7EDXkNUFaeFhr3bWmnlW4g,2961
18
18
  kodexa/pipeline/__init__.py,sha256=sA7f5D6qkdMrpp2xTIeefnrUBI6xxEEWostvxfX_1Cs,236
19
19
  kodexa/pipeline/pipeline.py,sha256=ZYpJAWcwV4YRK589DUhU0vXGQlkNSj4J2TsGbYqTLjo,25221
@@ -43,7 +43,7 @@ kodexa/testing/test_utils.py,sha256=DrLCkHxdb6AbZ-X3WmTMbQmnVIm55VEBL8MjtUK9POs,
43
43
  kodexa/training/__init__.py,sha256=xs2L62YpRkIRfslQwtQZ5Yxjhm7sLzX2TrVX6EuBnZQ,52
44
44
  kodexa/training/train_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
45
45
  kodexa/utils/__init__.py,sha256=Pnim1o9_db5YEnNvDTxpM7HG-qTlL6n8JwFwOafU9wo,5928
46
- kodexa-7.0.12396164812.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
47
- kodexa-7.0.12396164812.dist-info/METADATA,sha256=ENnb4zvEsKkYd4RSynxIX5xD004Lx4vp11zoAHMxJ-w,3527
48
- kodexa-7.0.12396164812.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
49
- kodexa-7.0.12396164812.dist-info/RECORD,,
46
+ kodexa-7.0.12396563598.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
47
+ kodexa-7.0.12396563598.dist-info/METADATA,sha256=6GaCSj4UK3lNqnlhvSywHfjfg4d5Bf99DuAurg6iE1k,3527
48
+ kodexa-7.0.12396563598.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
49
+ kodexa-7.0.12396563598.dist-info/RECORD,,