|
@@ -1433,7 +1433,7 @@ class DevicePushService:
|
|
|
return is_copy
|
|
|
|
|
|
@classmethod
|
|
|
- def transfer_obs_image(cls, uid, channel, event_time, storage_location, region, is_st, bucket, max_retries=3, retry_delay=1):
|
|
|
+ def transfer_obs_image(cls, uid, channel, event_time, storage_location, region, is_st, bucket, max_retries=3, retry_delay=3):
|
|
|
"""
|
|
|
复制OBS存储桶中的图片到目标位置(带重试机制)
|
|
|
|
|
@@ -1450,7 +1450,7 @@ class DevicePushService:
|
|
|
if is_st == 1:
|
|
|
source_key = f'{uid}/{channel}/{event_time}.jpeg'
|
|
|
else:
|
|
|
- source_key = f'{uid}/{channel}/{event_time}_1.jpg'
|
|
|
+ source_key = f'{uid}/{channel}/{event_time}_0.jpeg'
|
|
|
|
|
|
target_key = f'roomumy/albumMedia/{uid}/{channel}/{event_time}.jpeg'
|
|
|
|