File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export default function cleanThumbnails(prisma: typeof globalThis.__db__) {
5050 totals : {
5151 fs : fsThumbnails . length - fsOrphaned . length ,
5252 db : dbThumbnails . length - dbOrphaned . length ,
53- }
53+ } ,
5454 } ) ;
5555 } ;
5656}
Original file line number Diff line number Diff line change @@ -292,7 +292,11 @@ async function main() {
292292 tasks . interval ( 'deletefiles' , ms ( config . tasks . deleteInterval as StringValue ) , deleteFiles ( prisma ) ) ;
293293 tasks . interval ( 'maxviews' , ms ( config . tasks . maxViewsInterval as StringValue ) , maxViews ( prisma ) ) ;
294294 tasks . interval ( 'clearinvites' , ms ( config . tasks . clearInvitesInterval as StringValue ) , clearInvites ( prisma ) ) ;
295- tasks . interval ( 'cleanthumbnails' , ms ( config . tasks . cleanThumbnailsInterval as StringValue ) , cleanThumbnails ( prisma ) ) ;
295+ tasks . interval (
296+ 'cleanthumbnails' ,
297+ ms ( config . tasks . cleanThumbnailsInterval as StringValue ) ,
298+ cleanThumbnails ( prisma ) ,
299+ ) ;
296300
297301 if ( config . features . metrics )
298302 tasks . interval ( 'metrics' , ms ( config . tasks . metricsInterval as StringValue ) , metrics ( prisma ) ) ;
You can’t perform that action at this time.
0 commit comments