mbmd icon indicating copy to clipboard operation
mbmd copied to clipboard

cache writings

Open isarrider opened this issue 2 years ago • 4 comments

Hi,

I think it might be nice if mbmd could also cache the Database writes, in case it isn't available... (like vzlogger can: "max_buffer_size": 864000,) Thoughts?

Thx, Alex

isarrider avatar Jan 17 '22 12:01 isarrider

Which DB are you referring to? Influx?

andig avatar Jan 17 '22 12:01 andig

yap...

isarrider avatar Jan 17 '22 12:01 isarrider

The influx client already has the abilities to retry: https://pkg.go.dev/github.com/influxdata/influxdb-client-go/v2#Options.MaxRetries. Happy to take a PR exploiting it.

andig avatar Jan 17 '22 14:01 andig

the last time I coded sth "real" is 15 years ago or so... ;) Happy to paypal sb 10€ - guess it takes less then 30min (maybe some computer science student is interested).

BR, Alex

isarrider avatar Jan 19 '22 13:01 isarrider