# Set Worker Configuration

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/config/worker:
    put:
      summary: Set Worker Configuration
      deprecated: false
      description: ''
      tags:
        - REST/Configuration
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfigurationWorker'
            example:
              udp_bind_addr: 0.0.0.0:8881
              master_udp_addr: 127.0.0.1:8880
              worker_thread_count: null
              crossbeam_channel_size: null
              mpsc_channel_size: null
              fast_mode: true
              log: 0
              disable_height_datum: false
      responses:
        '204':
          description: ''
          headers: {}
          x-apifox-name: 无内容
      security:
        - bearer: []
      x-apifox-folder: REST/Configuration
      x-apifox-status: developing
      x-run-in-apifox: https://app.apifox.com/web/project/8175002/apis/api-449540185-run
components:
  schemas:
    ConfigurationWorker:
      type: object
      properties:
        udp_bind_addr:
          type: string
        master_udp_addr:
          type: string
        worker_thread_count:
          type: 'null'
        crossbeam_channel_size:
          type: 'null'
        mpsc_channel_size:
          type: 'null'
        fast_mode:
          type: boolean
        log:
          type: integer
        disable_height_datum:
          type: boolean
      required:
        - udp_bind_addr
        - master_udp_addr
        - worker_thread_count
        - crossbeam_channel_size
        - mpsc_channel_size
        - fast_mode
        - log
        - disable_height_datum
      x-apifox-orders:
        - udp_bind_addr
        - master_udp_addr
        - worker_thread_count
        - crossbeam_channel_size
        - mpsc_channel_size
        - fast_mode
        - log
        - disable_height_datum
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
servers: []
security:
  - bearer: []

```
