Skip to content

Commit e56ed9f

Browse files
committed
pushclient use protobuf default
1 parent b8750a4 commit e56ed9f

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.0.0 (2023-06-08)
2+
### Breaking
3+
- 长链接由默认stomp改为默认使用protobuf
4+
15
## 2.4.0 (2023-06-07)
26
### New
37
- 支持期权组合订单

tigeropen/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
55
@author: gaoan
66
"""
7-
__VERSION__ = '2.4.0'
7+
__VERSION__ = '3.0.0'

tigeropen/push/push_client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@
88
from tigeropen.push.protobuf_push_client import ProtobufPushClient
99
from tigeropen.push.stomp_push_client import StompPushClient
1010

11-
USE_STOMP = False
12-
1311

1412
class PushClient:
1513
def __init__(self, host, port, use_ssl=True, connection_timeout=120, heartbeats=(30 * 1000, 30 * 1000),
16-
use_protobuf=False):
14+
use_protobuf=True):
1715
"""
1816
:param host:
1917
:param port:

0 commit comments

Comments
 (0)