main
Raw Download raw file
 1package api
 2
 3import "time"
 4
 5// Task status constants
 6const (
 7	TaskStatusCompleted = "completed"
 8	TaskStatusError     = "error"
 9	TaskStatusSubmitted = "submitted"
10)
11
12// Default timeout values
13const (
14	DefaultTaskTimeout     = 30 * time.Second
15	DefaultPollInterval    = 1 * time.Second
16	DefaultDownloadTimeout = 60 * time.Second
17)
18
19// Progress display constants
20const (
21	ProgressDotInterval = 5 // Show progress dot every N polling cycles
22)
23
24// File size estimation constants
25const (
26	EstimatedChunkSizeKB = 512 // Rough estimate for file size calculation
27)
28
29// UUID format constants
30const (
31	UUIDLength          = 36
32	UUIDLengthNoHyphens = 32
33	UUIDDisplayLength   = 8 // Number of characters to show in truncated displays
34)