modify: 修改支持版本
This commit is contained in:
parent
0c8c6ffbc2
commit
c6bcb64c61
@ -1 +1 @@
|
|||||||
3.10
|
3.11
|
||||||
|
|||||||
@ -18,7 +18,7 @@ dependencies = [
|
|||||||
description = "A high-performance, SQLite-based distributed task queue system with Rust-backed core operations. Supports task mounting, message listening, priority handling, retry mechanisms, and automatic cleanup of expired messages. Ideal for building reliable, scalable background task processing systems."
|
description = "A high-performance, SQLite-based distributed task queue system with Rust-backed core operations. Supports task mounting, message listening, priority handling, retry mechanisms, and automatic cleanup of expired messages. Ideal for building reliable, scalable background task processing systems."
|
||||||
name = "queue-sqlite"
|
name = "queue-sqlite"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.7"
|
requires-python = ">=3.11"
|
||||||
version = "0.2.0"
|
version = "0.2.0"
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
|
|||||||
@ -27,7 +27,7 @@ class TestAsyncScheduler:
|
|||||||
cls.callback_counter += 1
|
cls.callback_counter += 1
|
||||||
# if cls.callback_counter % 100 == 0: # 每100个任务打印一次
|
# if cls.callback_counter % 100 == 0: # 每100个任务打印一次
|
||||||
# print(f"callback: {cls.callback_counter}")
|
# print(f"callback: {cls.callback_counter}")
|
||||||
print(f"callback: {message_item}")
|
# print(f"callback: {message_item}")
|
||||||
# print(f"callback: {message_item.id}")
|
# print(f"callback: {message_item.id}")
|
||||||
# print(f"callback: {message_item.expire_time}")
|
# print(f"callback: {message_item.expire_time}")
|
||||||
# print(f"callback: {message_item.tags}")
|
# print(f"callback: {message_item.tags}")
|
||||||
|
|||||||
@ -27,7 +27,7 @@ class TestStress:
|
|||||||
cls.callback_counter += 1
|
cls.callback_counter += 1
|
||||||
# if cls.callback_counter % 100 == 0: # 每100个任务打印一次
|
# if cls.callback_counter % 100 == 0: # 每100个任务打印一次
|
||||||
# print(f"callback: {cls.callback_counter}")
|
# print(f"callback: {cls.callback_counter}")
|
||||||
print(message_item.id)
|
# print(message_item.id)
|
||||||
# print(f"callback: {message_item}")
|
# print(f"callback: {message_item}")
|
||||||
# print(f"callback: {message_item.id}")
|
# print(f"callback: {message_item.id}")
|
||||||
# print(f"callback: {message_item.expire_time}")
|
# print(f"callback: {message_item.expire_time}")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user