Skip to content

Commit

Permalink
Add a sqlite flag
Browse files Browse the repository at this point in the history
  • Loading branch information
xyproto committed Aug 28, 2024
1 parent 1879dd4 commit f993ec9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ func (ac *Config) handleFlags(serverTempDir string) {
flag.StringVar(&ac.mariaDatabase, "mariadb", "", "MariaDB/MySQL database name")
flag.StringVar(&ac.postgresDSN, "postgres", "", "PostgreSQL connection string (DSN)")
flag.StringVar(&ac.postgresDatabase, "postgresdb", "", "PostgreSQL database name")
flag.StringVar(&ac.sqliteConnectionString, "sqlite", "", "SQLite filename / connection string")
flag.BoolVar(&ac.useBolt, "bolt", false, "Use the default Bolt filename")
flag.StringVar(&ac.boltFilename, "boltdb", "", "Bolt database filename")
flag.Int64Var(&ac.limitRequests, "limit", ac.defaultLimit, "Limit clients to a number of requests per second")
Expand Down

0 comments on commit f993ec9

Please sign in to comment.