Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
88bff675e9
|
||
|
|
0b19f956a2 | ||
|
|
003384abd4 | ||
|
|
76e4944919 | ||
|
|
4898e78c5d | ||
|
|
1e750b9dc6 |
@@ -45,11 +45,14 @@ public class AttachmentStorage
|
||||
}
|
||||
|
||||
/*******************************************************************************
|
||||
** Enforce the bucket's cap as well as collaboration's configured cap.
|
||||
** The bucket's own upload cap, when object storage exposes it through its api
|
||||
** package. It does not yet (requested from qbit-object-storage), so this
|
||||
** returns Long.MAX_VALUE: collaboration enforces its configured per-table cap,
|
||||
** and object storage still enforces the bucket's cap when the object is put.
|
||||
*******************************************************************************/
|
||||
public long maxBytes(String name)
|
||||
{
|
||||
return (bucket(name).config().getMaxUploadBytes());
|
||||
return (Long.MAX_VALUE);
|
||||
}
|
||||
|
||||
/*******************************************************************************
|
||||
|
||||
Reference in new issue
Block a user