Skip to content

Commit

Permalink
style: Run Prettier v3 (#1155)
Browse files Browse the repository at this point in the history
  • Loading branch information
pan93412 authored Jul 8, 2023
1 parent 04b46d5 commit b81a7c0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 6 additions & 3 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,12 @@ const dnsSource =

// Start the "Clean Cache" background task.
const csgInstance = CacheStorageGroup.getInstance();
setInterval(() => {
csgInstance.cleanup();
}, 15 * 60 * 1000);
setInterval(
() => {
csgInstance.cleanup();
},
15 * 60 * 1000
);

Promise.all(
dnsSource.map((query) => query(target.join(','))).concat(target.map(dns))
Expand Down
9 changes: 6 additions & 3 deletions src/bridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@ const distribute = (url, router) =>

// Start the "Clean Cache" background task.
const csgInstance = CacheStorageGroup.getInstance();
setInterval(() => {
csgInstance.cleanup();
}, 15 * 60 * 1000);
setInterval(
() => {
csgInstance.cleanup();
},
15 * 60 * 1000
);

require('http')
.createServer()
Expand Down

0 comments on commit b81a7c0

Please sign in to comment.