export const QUEUE_PRIORITY = { LOW : 20 , NORMAL : 15 , MEDIUM : 10 , HIGH : 5 , CRITICAL : 1 , } ; export const QUEUE_JOB = { publishArticle : 'publishArticle' , publishPendingDrafts : 'publishPendingDrafts' , verifyIPFSPinHashes : 'verifyIPFSPinHashes' , republishMissingHashes : 'republishMissingHashes' , sendMail : 'sendMail' , pushNotification : 'pushNotification' , like : 'likeCoinLike' , sendPV : 'likeCoinSendPV' , archiveUser : 'userArchive' , activateOnboardingUsers : 'activateOnboardingUsers' , unbanUsers : 'unbanUsers' , sendDailySummaryEmails : 'sendDailySummaryEmails' , refreshTagCountMaterialView : 'refreshTagCountMaterialView' , refreshUserReaderView : 'refreshUserReaderView' , refreshFeaturedCommentView : 'refreshFeaturedCommentView' , refreshCurationTagMaterialView : 'refreshCurationTagMaterialView' , refreshArticleHottestView : 'refreshArticleHottestView' , refreshMostActiveAuthorView : 'refreshMostActiveAuthorView' , refreshMostAppreciatedAuthorView : 'refreshMostAppreciatedAuthorView' , refreshMostTrendyAuthorView : 'refreshMostTrendyAuthorView' , refreshUserActivityView : 'refreshUserActivityView' , refreshArticleReadTimeView : 'refreshArticleReadTimeView' , refreshRecentlyReadTagsView : 'refreshRecentlyReadTagsView' , refreshRecommendedArticlesFromReadTagsView : 'refreshRecommendedArticlesFromReadTagsView' , migration : 'migration' , payout : 'payout' , payTo : 'payTo' , txTimeout : 'txTimeout' , syncDeliveryFailedEvents : 'syncDeliveryFailedEvents' , appreciation : 'appreciation' , publishRevisedArticle : 'publishRevisedArticle' , publishPendingRevisionDrafts : 'publishPendingRevisionDrafts' , deleteAsset : 'deleteAsset' , transferTrialEndSubscriptions : 'transferTrialEndSubscriptions' , } ; export const QUEUE_NAME = { notification : 'notification' , publication : 'publication' , emails : 'emails' , refreshViews : 'refreshViews' , likecoin : 'likecoin' , user : 'user' , migration : 'migration' , payout : 'payout' , payTo : 'payTo' , appreciation : 'appreciation' , txTimeout : 'txTimeout' , revision : 'revision' , asset : 'asset' , stripe : 'stripe' , circle : 'circle' , ipfs : 'ipfs' , } ; export const QUEUE_CONCURRENCY = { publishArticle : 100 , publishRevisedArticle : 100 , migration : 2 , } ; export const QUEUE_COMPLETED_LIST_SIZE = { none : true , small : 100 , medium : 1000 , large : 10000 , } ;