diff --git a/pyrogram_rockserver_storage/rocksdb.thrift b/pyrogram_rockserver_storage/rocksdb.thrift index 35ddf5b..74005ea 100644 --- a/pyrogram_rockserver_storage/rocksdb.thrift +++ b/pyrogram_rockserver_storage/rocksdb.thrift @@ -42,7 +42,7 @@ service RocksDB { i64 openTransaction(1: required i64 timeoutMs), - bool closeTransaction(1: required i64 timeoutMs, 2: required bool commit), + bool closeTransaction(1: required i64 transactionId, 2: required bool commit), void closeFailedUpdate(1: required i64 updateId), diff --git a/requirements.txt b/requirements.txt index b811659..dfbe1b1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ Pyrogram @ git+https://github.com/cavallium/faster-pyrogram@847a353ce65b9b7edaef9a05eb71b20f107d67da bson~=0.5.10 -thriftpy2~=0.4.20 +thriftpy2~=0.5.2 lru-dict~=1.3.0