You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a simple (I hope) issue to fix: Proper error throwing and handling when config object in ipfsOptions isn't right.
Today I was trying to set a constructor, and used following: ipfsOptions: { config: { Datastore: { StorageMax: '35GB', StorageGCWatermark: '99', }, }, }
Here, you can see I was trying to set StorageGCWatermark to a string. But it has to be int.
But instead of throwing an error it wasn't do anything. It was just ignoring config options and it was frustrating,
Thanks <3
The text was updated successfully, but these errors were encountered:
Hello Everyone,
It's a simple (I hope) issue to fix: Proper error throwing and handling when
config
object inipfsOptions
isn't right.Today I was trying to set a constructor, and used following:
ipfsOptions: { config: { Datastore: { StorageMax: '35GB', StorageGCWatermark: '99', }, }, }
Here, you can see I was trying to set
StorageGCWatermark
to a string. But it has to be int.But instead of throwing an error it wasn't do anything. It was just ignoring config options and it was frustrating,
Thanks <3
The text was updated successfully, but these errors were encountered: