mirror of
https://github.com/alexgo-io/stacks-subnets.git
synced 2026-01-12 16:53:24 +08:00
adding dropbox as a default storage driver to load, and switched default 'required' drivers to 'disk,dropbox'
This commit is contained in:
@@ -905,7 +905,7 @@ def put_indexed_data( dvconf, name, chunk_buf, raw=False, index=True ):
|
||||
log.debug("Insert ({}, {}) into index".format(name, new_url))
|
||||
rc = index_insert( dvconf, name, new_url )
|
||||
if not rc:
|
||||
log.error("Failed to insert ({}, {}) into index".foramt(name, new_url))
|
||||
log.error("Failed to insert ({}, {}) into index".format(name, new_url))
|
||||
return False
|
||||
|
||||
return True
|
||||
|
||||
@@ -86,10 +86,10 @@ WALLET_PASSWORD_LENGTH = 8
|
||||
WALLET_DECRYPT_MAX_TRIES = 5
|
||||
WALLET_DECRYPT_BACKOFF_RESET = 3600
|
||||
|
||||
BLOCKSTACK_DEFAULT_STORAGE_DRIVERS = 'disk,s3,blockstack_resolver,blockstack_server,http,dht'
|
||||
BLOCKSTACK_DEFAULT_STORAGE_DRIVERS = 'disk,dropbox,s3,blockstack_resolver,blockstack_server,http,dht'
|
||||
|
||||
# storage drivers that must successfully acknowledge each write
|
||||
BLOCKSTACK_REQUIRED_STORAGE_DRIVERS_WRITE = 'disk,blockstack_server,dht'
|
||||
BLOCKSTACK_REQUIRED_STORAGE_DRIVERS_WRITE = 'disk,dropbox'
|
||||
|
||||
BLOCKSTACK_STORAGE_CLASSES = ['read_public', 'read_private', 'write_public', 'write_private', 'read_local', 'write_local']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user