Closed Bug 1092215 Opened 10 years ago Closed 10 years ago

Update configuration values for loop-server 0.13

Categories

(Cloud Services :: Operations: Miscellaneous, task)

x86_64
Linux
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alexis+bugs, Assigned: bobm)

References

Details

Attachments

(1 file)

The 0.13 release changes a bunch of settings, I've tried to list them all here:

callUrlTokenSize, callUrlTimeout, callUrlMaxTimeout and webAppUrl settings are now in a callUrls mapping:

> callUrls: {
>    tokenSize: {
>      doc: "The callUrl token size (in bytes).",
>     format: Number,
>      default: 8
>    },
>    timeout: {
>      doc: "How much time a token is valid for (in hours)",
>      format: Number,
>      default: 24 * 30 // One month.
>    },
>    maxTimeout: {
>      doc: "The maximum number of hours a token can be valid for.",
>      format: Number,
>      default: 24 * 30
>    },
>    webAppUrl: {
>      doc: "Loop Web App Home Page.",
>      format: "url",
>      default: "http://localhost:3000/static/#call/{token}",
>      env: "WEB_APP_URL"
>    }
>   },

consoleDateFormat, metrics and metricsFileParams have been replaced by:

> logRequests: {
>    activated: {
>      doc: "Defines if requests should be logged to Stdout",
>      default: false,
>      format: Boolean
>    },
>    consoleDateFormat: {
>      doc: "Date format of the logging line.",
>      format: String,
>      default: "%y/%b/%d %H:%M:%S"
>    }
>  },

and hekaMetrics:

> hekaMetrics: {
>    activated: {
>      doc: "Defines if metrics should be directed to hekad",
>      default: false,
>      format: Boolean
>    },

(this one should be activated).

Also, we have a new setting mapping for the rooms feature:

>  rooms: {
>    defaultTTL: {
>      doc: "The default TTL for a room (in hours)",
>      format: Number,
>      default: 24 * 30 // One month.
>    },
>    maxTTL: {
>      doc: "The maximum TTL for a room (in hours) allowed by the server",
>      format: Number,
>      default: 24 * 60 // Two months.
>    },
>    participantTTL: {
>      doc: "The TTL (in seconds) for a participant in the room",
>      format: Number,
>      default: 5 * 60  // 5 minutes
>    },
>    maxSize: {
>      doc: "The maximum size of a room",
>      format: Number,
>      default: 5
>    },
>    maxRoomNameSize: {
>      doc: "The maximum number of chars to name a room",
>      format: Number,
>      default: 100
>    },
>    maxRoomOwnerSize: {
>      doc: "The maximum number of chars for the owner of a room",
>      format: Number,
>      default: 100
>    },
>    tokenSize: {
>      doc: "The room token size (in bytes).",
>      format: Number,
>      default: 8
>    },
>    webAppUrl: {
>      doc: "Loop Web App rooms url.",
>      format: "url",
>      default: "http://localhost:3000/#room/{token}",
>      env: "ROOMS_WEB_APP_URL"
>    },
>    HKDFSalt: {
>      doc: "The salt that will be used to cipher profile data " +
>           "(16 bytes key encoded as hex)",
>      format: hexKeyOfSize(16),
>      default: "",
>      env: "ROOMS_HKDF_SECRET"
>    }

Let me know if you need more information on this. This needs to be updated before we can release 0.13.

Thanks,
Alexis
Configuration change to deploy loop-server 0.13
Attachment #8516647 - Flags: review?(bobm)
Setting to assigned.
Status: NEW → ASSIGNED
Blocks: 1094748
Merged.  Closing ticket.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment on attachment 8516647 [details] [review]
Link to Github PR — #970.

Just clearing request...
Attachment #8516647 - Flags: review?(bobm) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: