Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/api/athena.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { fetcher } from '.'
import { ATHENA_URL } from './config'

// Higher number is lower priority
const HIGH_PRIORITY = 0
export const COMMA_CONNECT_PRIORITY = 1

// Uploads expire after 1 week if device remains offline
const EXPIRES_IN_SECONDS = 60 * 60 * 24 * 7
Expand All @@ -34,7 +34,7 @@ export const uploadFilesToUrls = (dongleId: string, files: UploadFile[]) =>
allow_cellular: false,
fn: file.filePath,
headers: file.headers,
priority: HIGH_PRIORITY,
priority: COMMA_CONNECT_PRIORITY,
url: file.url,
})),
},
Expand Down
Loading