How Influx decide to create new WAL file?

HI
does it have size threshold or use time threshold ?

Thanks,

Have you taken a peek at the documentation?