Implement retry mechanism (#187)
* Implement retry mechanism * Set retry count to 3 * web app cache key * Changelog
This commit is contained in:
1 parent
4233f30dec
commit
8f59e3648e
6 files changed
+111
-28
No files matched your search
@@ -142,6 +142,7 @@ channel_info:
|
||||
url: /api/v1/channels/{ucid}
|
||||
responseHandler: ChannelInfoHandler
|
||||
cacheSeconds: 259200 # 3 days
|
||||
tryCount: 3
|
||||
|
||||
# Channel endpoints
|
||||
channel_videos:
|
||||
@@ -149,6 +150,7 @@ channel_videos:
|
||||
url: /api/v1/channels/{ucid}/videos
|
||||
responseHandler: ChannelVideosHandler
|
||||
paginationType: Continuation
|
||||
tryCount: 3
|
||||
queryParams:
|
||||
sort_by:
|
||||
# defaults to newest
|
||||
@@ -162,6 +164,7 @@ channel_playlists:
|
||||
url: /api/v1/channels/{ucid}/playlists
|
||||
responseHandler: ChannelPlaylistsHandler
|
||||
paginationType: Continuation
|
||||
tryCount: 3
|
||||
queryParams:
|
||||
sort_by:
|
||||
required: false
|
||||
@@ -175,21 +178,25 @@ channel_shorts:
|
||||
url: /api/v1/channels/{ucid}/shorts
|
||||
responseHandler: ChannelVideosHandler
|
||||
paginationType: Continuation
|
||||
tryCount: 3
|
||||
|
||||
channel_streams:
|
||||
title: Channel streams
|
||||
url: /api/v1/channels/{ucid}/streams
|
||||
responseHandler: ChannelVideosHandler
|
||||
paginationType: Continuation
|
||||
tryCount: 3
|
||||
|
||||
channel_podcasts:
|
||||
title: Channel podcasts
|
||||
url: /api/v1/channels/{ucid}/podcasts
|
||||
responseHandler: ChannelPlaylistsHandler
|
||||
paginationType: Continuation
|
||||
tryCount: 3
|
||||
|
||||
channel_channels:
|
||||
title: Related channels
|
||||
url: /api/v1/channels/{ucid}/channels
|
||||
responseHandler: ChannelRelatedChannelsHandler
|
||||
paginationType: Continuation
|
||||
tryCount: 3
|
||||
Reference in new issue
Block a user