Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
hmt committed Aug 12, 2021
1 parent 90cf42d commit 3fb952b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Tinyscale

**Warning, currently tinyscale is not compatible with Deno 1.13.x due to changes in Error handling. Please use 1.12.x instead until further notice.**
Depending on your requirements for BigBlueButton and your server capabilities you may need to host more than one instance of BigBlueButton to host meetings for your users. But as soon as you run more than one server you either need to split up servers for different endpoints, let's say one BBB server for Greenlight and another one for moodle, or you install a load balancer that decides for you where new meetings are set up and where users are routed to. If you only use one endpoint for all your meetings you will have to use a load balancer such as scalelite to run more than one BBB server.

While scalelite is a very good load balancer it also uses a lot of resources and is somewhat complicated to set up (ymmv). Since my resources were low and I could not affort to rent yet another server to run scalelite, I created tinyscale to solve the issue of load balancing multiple BBB instances.
Expand Down
10 changes: 5 additions & 5 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export { deferred } from "https://deno.land/std/async/mod.ts";
export type { Deferred } from "https://deno.land/std/async/mod.ts";
export { join } from "https://deno.land/std@0.95.0/path/mod.ts";
export { createHash } from "https://deno.land/std@0.95.0/hash/mod.ts";
export * as Color from "https://deno.land/std@0.95.0/fmt/colors.ts";
export { join } from "https://deno.land/std/path/mod.ts";
export { createHash } from "https://deno.land/std/hash/mod.ts";
export * as Color from "https://deno.land/std/fmt/colors.ts";
export { createError } from "https://deno.land/x/http_errors@3.0.0/mod.ts";
export { opine, Router } from "https://deno.land/x/opine@1.3.2/mod.ts";
export type { ErrorRequestHandler, Request, ParamsDictionary } from "https://deno.land/x/opine@1.3.2/mod.ts";
export { opine, Router } from "https://deno.land/x/opine@1.7.1/mod.ts";
export type { ErrorRequestHandler, Request, ParamsDictionary } from "https://deno.land/x/opine@1.7.1/mod.ts";
export const secret: string = Deno.env.get("TINYSCALE_SECRET") || ""
4 changes: 2 additions & 2 deletions mod.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Color, secret } from './deps.ts'

const VERSION = 'v1.6.2'
const VERSION = 'v1.6.3'
// give your tinyscale server a secret so it looks like a BBB server
if (!secret) throw "No secret set for tinyscale"
console.log(Color.green(`Starting tinyscale ${VERSION}`))
console.log(Color.green(`Starting tinyscale ${VERSION} on Deno ${Deno.version.deno}`))
console.log(`Your secret is set to ${Color.green(secret)}`)

import app from "./app.ts";
Expand Down

0 comments on commit 3fb952b

Please sign in to comment.