Skip to contents

Resets all taskqueue options to their default values from environment variables.

Usage

taskqueue_reset()

Value

Invisibly returns NULL. Called for side effects (resetting options).

Details

This function restores options to the values specified in environment variables (PGHOST, PGPORT, PGUSER, PGPASSWORD, PGDATABASE). Any programmatic changes made via taskqueue_options are discarded.

Useful after temporarily modifying connection parameters.

Examples

# Override options temporarily
taskqueue_options(host = "test.server.com")

# Reset to environment variable values
taskqueue_reset()