bugfix event
Build and Push Docker Image / build (push) Failing after 13s

This commit is contained in:
Pierre
2026-03-07 14:44:07 +01:00
parent f26fea797c
commit 2c772fd820
5 changed files with 92 additions and 212 deletions
+13 -7
View File
@@ -5,20 +5,24 @@ Provides a unified interface for reading video metadata from different backends:
- LeaderStorage: Discovers and connects to the KV leader (recommended)
- RedisStorage: Reads from Redis with direct URL (legacy)
Also provides service discovery for inter-service communication.
Also provides service registration for inter-service communication.
Service discovery is centralized in meta-core.
"""
from .provider import StorageProvider, VideoMetadata
from .redis_storage import RedisStorage
from .leader_storage import LeaderStorage
from .leader_client import LeaderClient, LeaderLockInfo
from .service_discovery import (
ServiceDiscovery,
from .leader_client import LeaderClient, LeaderLockInfo, get_leader_client
from .service_registration import (
ServiceRegistration,
ServiceInfo,
get_service_discovery,
init_service_discovery
get_service_discovery, # Kept for backward compatibility
init_service_discovery # Kept for backward compatibility
)
# Backward compatibility alias
ServiceDiscovery = ServiceRegistration
__all__ = [
'StorageProvider',
'VideoMetadata',
@@ -26,7 +30,9 @@ __all__ = [
'LeaderStorage',
'LeaderClient',
'LeaderLockInfo',
'ServiceDiscovery',
'get_leader_client',
'ServiceRegistration',
'ServiceDiscovery', # Backward compatibility alias
'ServiceInfo',
'get_service_discovery',
'init_service_discovery',