Skip to content

dpep/cloud_context_rb

Repository files navigation

CloudContext

...

require 'cloud_context'

Size Limitations

While there is technically no limit to header size, servers generally enforce limits. For example, Apache's default is 8KB and will return HTTP Status code 413 - Entity Too Large. Additionally, headers adds overhead to every request being made, so use CloudContext sparingly. To approximate byte size:

CloudContext.bytesize

Multi-threading Limitations

CloudContext allocates a new context for each thread.


Contributing

Yes please :)

  1. Fork it
  2. Create your feature branch (git checkout -b my-feature)
  3. Ensure the tests pass (bundle exec rspec)
  4. Commit your changes (git commit -am 'awesome new feature')
  5. Push your branch (git push origin my-feature)
  6. Create a Pull Request

Inspired by


Gem codecov

About

Keep track of context as requests bounce around your cloud.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages