hunk.code_window: 			Value: currentTime,
   		})
   		if writeErr != nil {
   			mlog.Debug("Unable to write to database.", mlog.Err(writeErr))
   			s[dbStatusKey] = model.STATUS_UNHEALTHY
   			s[model.STATUS] = model.STATUS_UNHEALTHY
   		} else {
   			healthCheck, readErr := c.App.Srv().Store.System().GetByName(healthCheckKey)
   			if readErr != nil {
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit: 			mlog.Warn("Unable to write to database.", mlog.Err(writeErr))
  
hunk.file_path: api4/system.go
hunk.type: replace
file: // Code generated by cmd/cgo -godefs; DO NOT EDIT.
  // cgo -godefs defs_linux.go
  
  // +build riscv64
  
  package socket
  
  type iovec struct {
  	Base *byte
  	Len  uint64
  }
  
  type msghdr struct {
  	Name       *byte
  	Namelen    uint32
  	Iov        *iovec
  	Iovlen     uint64
  	Control    *byte
  	Controllen uint64
  	Flags      int32
  	Pad_cgo_0  [4]byte
  }
  
  type mmsghdr struct {
  	Hdr       msghdr
  	Len       uint32
  	Pad_cgo_0 [4]byte
  }
  
  type cmsghdr struct {
  	Len   uint64
  	Level int32
  	Type  int32
  }
  
  type sockaddrInet struct {
  	Family uint16
  	Port   uint16
  	Addr   [4]byte /* in_addr */
  	X__pad [8]uint8
  }
  
  type sockaddrInet6 struct {
  	Family   uint16
  	Port     uint16
  	Flowinfo uint32
  	Addr     [16]byte /* in6_addr */
  	Scope_id uint32
  }
  
  const (
  	sizeofIovec  = 0x10
  	sizeofMsghdr = 0x38
  
  	sizeofCmsghdr = 0x10
  
  	sizeofSockaddrInet  = 0x10
  	sizeofSockaddrInet6 = 0x1c
  )
  