PySyft
PySyft copied to clipboard
Send small variables to storage without blob storage
Issue: https://github.com/OpenMined/Heartbeat/issues/1274
- [x] Only save
ActionObjectto blob storage if it is bigger than amin_sizevariable (e.g. 16 MB) - [x] The min size can be set with an environment variable (e.g.
MIN_SIZE_BLOB_STORAGE_MB) so it can be configured when we change database implementations - [x] Add tests for 2 cases:
ActionObjectbigger thanMIN_SIZE_BLOB_STORAGE_MBand smaller thanMIN_SIZE_BLOB_STORAGE_MB
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 88.52%. Comparing base (
f115f2c) to head (113ffed).
Additional details and impacted files
| Flag | Coverage Δ | |
|---|---|---|
| activemq | ? |
|
| azure_iot_edge | 82.08% <ø> (ø) |
|
| cassandra | ? |
|
| hive | ? |
|
| hivemq | ? |
|
| hudi | ? |
|
| ignite | ? |
|
| jboss_wildfly | ? |
|
| kafka | ? |
|
| presto | ? |
|
| solr | ? |
Flags with carried forward coverage won't be shown. Click here to find out more.