Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
08d326dc1f | ||
|
|
79400146ea |
No files matched your search
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"version": "v1.2",
|
||||
"releaseDate": "2025-12-22",
|
||||
"version": "v1.4",
|
||||
"releaseDate": "2026-02-23",
|
||||
"description": "This is the latest release of the application.",
|
||||
"downloads": {
|
||||
"program": {
|
||||
"xpack_mcp_market": {
|
||||
"version": "v1.2.1",
|
||||
"version": "v1.4.1",
|
||||
"docker": "xpackai/xpack-mcp-market",
|
||||
"tar": "xpack-mcp-market.tar.gz",
|
||||
"url": "https://public.eolinker.com/xpack/images/xpack-mcp-market.${VERSION}.${ARCH}.tar.gz"
|
||||
|
||||
@@ -45,7 +45,9 @@ class RedisEventStore(EventStore):
|
||||
|
||||
async def store_event(self, stream_id: StreamId, message: JSONRPCMessage) -> EventId:
|
||||
key = self._key(stream_id)
|
||||
payload = json.dumps(message.model_dump(by_alias=True, exclude_none=True))
|
||||
payload = json.dumps(
|
||||
message.model_dump(by_alias=True, exclude_none=True) if message is not None else {}
|
||||
)
|
||||
# Append to Redis list via thread wrapper to avoid blocking
|
||||
seq: int = await asyncio.to_thread(self._rpush, key, payload)
|
||||
# rpush returns new length; sequence index is length-1
|
||||
|
||||
Reference in new issue
Block a user