mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-16 18:41:03 +01:00
Increase max supported line length for #93
This commit is contained in:
parent
296bbc33e7
commit
1c4570586c
@ -46,8 +46,9 @@ var ConfigFishContents string
|
||||
var Version string = "Unknown"
|
||||
var GitCommit string = "Unknown"
|
||||
|
||||
// 256KB ought to be enough for any reasonable cmd
|
||||
var maxSupportedLineLengthForImport = 256_000
|
||||
// 512KB ought to be enough for any reasonable cmd
|
||||
// Funnily enough, 256KB actually wasn't enough. See https://github.com/ddworken/hishtory/issues/93
|
||||
var maxSupportedLineLengthForImport = 512_000
|
||||
|
||||
func Setup(userSecret string, isOffline bool) error {
|
||||
if userSecret == "" {
|
||||
|
Loading…
Reference in New Issue
Block a user