dbLogWriter

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BarkLogDao *models.BarkLogDao

Functions

func KeepSavingLogs added in v1.1.0

func KeepSavingLogs()

KeepSavingLogs is a go routine to check channel length and commit to DB The routine decides whether a batch or single insert DB call of the logs is needed to be made. Further bifurcation of the batch sizes is done based on the incoming traffic and LogChannel capacity. If appRuntime.ShutdownRequested is set to true, the routine will send a batch of all the remaining logs in the LogChannel to the DB.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL