Skip to content

Setting server method cache generateTimeout to false results in error #2714

@jrmce

Description

@jrmce

Setting the generateTimout property on the cache object of a server method returns an error.

server.method('cached', internals.getCached, {
        cache: {
            expiresIn: Moment.duration(1, 'months').asMilliseconds(),
            generateTimeout: false
        }
});

Metadata

Metadata

Assignees

Labels

bugBug or defect

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions