mirror of
https://github.com/chatmail/relay.git
synced 2026-05-12 00:54:37 +00:00
shift functions to a DictProxy class
This commit is contained in:
@@ -11,4 +11,3 @@ conn.login(f"imapcapa", "pass")
|
||||
status, res = conn.capability()
|
||||
for capa in sorted(res[0].decode().split()):
|
||||
print(capa)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import imaplib
|
||||
|
||||
domain = os.environ.get("CHATMAIL_DOMAIN", "c3.testrun.org")
|
||||
|
||||
NUM_CONNECTIONS=10
|
||||
NUM_CONNECTIONS = 10
|
||||
|
||||
conns = []
|
||||
|
||||
@@ -16,7 +16,7 @@ for i in range(NUM_CONNECTIONS):
|
||||
conns.append(conn)
|
||||
|
||||
tlsdone = time.time()
|
||||
duration = tlsdone-start
|
||||
duration = tlsdone - start
|
||||
print(f"{duration}: TLS connections opening TLS connections")
|
||||
|
||||
for i, conn in enumerate(conns):
|
||||
|
||||
Reference in New Issue
Block a user