singlestore-sql-validator 0.1.1__tar.gz → 0.1.2__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: singlestore-sql-validator
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: SQL grammar validator for SingleStore queries
5
5
  License: Apache License (2.0)
6
6
  License-File: LICENSE
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "singlestore-sql-validator"
3
- version = "0.1.1"
3
+ version = "0.1.2"
4
4
  description = "SQL grammar validator for SingleStore queries"
5
5
  authors = [
6
6
  {name = "Volodymyr Tkachuk",email = "vtkachuk-ua@singlestore.com"}
@@ -292,7 +292,7 @@ class Validator(ABC):
292
292
  - Returns: The full response string received from the server.
293
293
  - Raises: ConnectionError if the socket is closed before the full response is received, or ValueError if the response does not contain a valid Content-Length header.
294
294
  """
295
- sock.settimeout(5)
295
+ sock.settimeout(50) # Set a timeout for receiving data
296
296
  header = b""
297
297
  # Read header (until \r\n\r\n)
298
298
  while b"\r\n\r\n" not in header: