---
title: "es_set_deadline_miss_mode(_:_:)"
framework: endpointsecurity
role: symbol
role_heading: Function
path: "endpointsecurity/es_set_deadline_miss_mode(_:_:)"
---

# es_set_deadline_miss_mode(_:_:)

Set the deadline miss mode for the specified client

## Declaration

```swift
func es_set_deadline_miss_mode(_ client: OpaquePointer, _ mode: es_deadline_miss_mode_t) -> es_return_t
```

## Parameters

- `client`: The client to configure
- `mode`: The deadline miss mode to set

## Return Value

Return Value ES_RETURN_SUCCESS on success, ES_RETURN_ERROR on failure

## Discussion

Discussion This determines how the system responds when the client fails to respond to an auth event within the deadline. The default mode is ES_DEADLINE_MISS_MODE_KILL. note: This allows clients to defer deadline management to the kernel instead of implementing their own timeout mechanisms.
