summaryrefslogtreecommitdiffstats
path: root/src/main/thrift/bwlp.thrift
diff options
context:
space:
mode:
authorSimon Rettberg2015-10-02 17:08:11 +0200
committerSimon Rettberg2015-10-02 17:08:11 +0200
commitd84bdbb3b3e55d1ab308b3415013108d394dc365 (patch)
tree27654bcc351510ea6c7249f3ee86ba99b59092d9 /src/main/thrift/bwlp.thrift
parentAdd generic catch block to execCallback so a throwing callback won't wreck havoc (diff)
downloadmaster-sync-shared-d84bdbb3b3e55d1ab308b3415013108d394dc365.tar.gz
master-sync-shared-d84bdbb3b3e55d1ab308b3415013108d394dc365.tar.xz
master-sync-shared-d84bdbb3b3e55d1ab308b3415013108d394dc365.zip
Update thrift API with optional options
Diffstat (limited to 'src/main/thrift/bwlp.thrift')
-rw-r--r--src/main/thrift/bwlp.thrift6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/thrift/bwlp.thrift b/src/main/thrift/bwlp.thrift
index 26d3870..b241b1a 100644
--- a/src/main/thrift/bwlp.thrift
+++ b/src/main/thrift/bwlp.thrift
@@ -337,11 +337,15 @@ struct SatelliteConfig {
4: i32 maxImageValidityDays,
// Maximum number of days the expiration date of a lecture may be set in the future
5: i32 maxLectureValidityDays,
+ // Maximum number of concurrent transfers (individual uploads/downloads)
+ 6: optional i32 maxTransfers,
+ // Maximum number of connections per transfer
+ 7: optional i32 maxConnectionsPerTransfer,
}
struct SatelliteStatus {
1: i64 availableStorageBytes,
- 2: UnixTimestamp serverTime
+ 2: UnixTimestamp serverTime,
}
// Settings a user can change on a satellite server