mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Metadata above max size should be a warning.
This commit is contained in:
@@ -271,7 +271,7 @@ class MetadataType( JSONType ):
|
||||
sz = total_size(v)
|
||||
if sz > app.app.config.max_metadata_value_size:
|
||||
del value[k]
|
||||
log.error('Refusing to bind metadata key %s due to size (%s)' % (k, sz))
|
||||
log.warning('Refusing to bind metadata key %s due to size (%s)' % (k, sz))
|
||||
value = json_encoder.encode(value)
|
||||
return value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user