Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 01:59
    j717273419 starred exceptionless/Exceptionless
  • Oct 16 15:15
    ejsmith synchronize #452
  • Oct 16 15:15

    ejsmith on elastic7

    Update README.md (compare)

  • Oct 16 13:58

    niemyjski on elastic7

    (compare)

  • Oct 16 13:39
    niemyjski synchronize #452
  • Oct 16 13:39

    niemyjski on elastic7

    Simplified token logic and adde… Revert "Replaced NewtonSoft.Jso… (compare)

  • Oct 15 07:29
  • Oct 14 02:53
    wmowm commented #459
  • Oct 12 15:59
    niemyjski commented #459
  • Oct 12 15:57
    niemyjski edited #459
  • Oct 12 12:54
    niemyjski synchronize #452
  • Oct 12 12:54

    niemyjski on elastic7

    Fixed serializer null reference… Fixed all Swagger issues. (compare)

  • Oct 12 12:26
    niemyjski synchronize #452
  • Oct 12 12:26

    niemyjski on elastic7

    Updated to latest foundatio rep… (compare)

  • Oct 12 12:24
    niemyjski synchronize #452
  • Oct 12 12:24

    niemyjski on elastic7

    Fixed elasticsearch serializer … (compare)

  • Oct 12 11:01
    wmowm opened #459
  • Oct 11 11:21
    niemyjski commented #458
  • Oct 10 21:18
    kiquenet opened #458
  • Oct 10 13:30
    niemyjski updated the wiki
Blake Niemyjski
@niemyjski
or null
Jamie Clarke
@jamie94bc
oh yeah haha :)
Blake Niemyjski
@niemyjski
then ship it :)
Jamie Clarke
@jamie94bc
damn casing - this is why i tend to use this.
but i tried not to since to match your coding style
Blake Niemyjski
@niemyjski
hehe yeah
I don’t think we ever use this.
nice find on that :)
Jamie Clarke
@jamie94bc
yeah - was getting some logs that didn't make sense!
Blake Niemyjski
@niemyjski
:)
Blake Niemyjski
@niemyjski
@frankebersoll have you ever saw this with bower
bower exceptionless#1.3.2 install exceptionless#1.3.2
bower skipped exceptionless was not installed because there is already a non-bower directory with that name in the components directory (bower_components/exceptionless). You can force installation with --force.
I’ve always installed it via bower
so not sure why I get that
Eric J. Smith
@ejsmith
so another flakey test?
Jamie Clarke
@jamie94bc
yeah!
Eric J. Smith
@ejsmith
yay
at least the logging helps a lot for tracking those down.
Blake Niemyjski
@niemyjski
just thought of something
var valueMap = new Dictionary<string, CacheValue<T>>();
we could put the old dictionary length in the constructor so if it’s a huge existing dictionary we won’t be changing the size internally every 2^nth
Eric J. Smith
@ejsmith
where is that for?
Blake Niemyjski
@niemyjski
in the scoped cache client
I’m going to make that change real quick
Eric J. Smith
@ejsmith
that only works for in memory implementations, no?
Blake Niemyjski
@niemyjski
no
all of them
hmm
ToDictionary overload doesn’t look at the count
when creating it
Eric J. Smith
@ejsmith
how would you know how many items are in reds?
redis
Blake Niemyjski
@niemyjski
it does a getall
and then iterates over that..
Eric J. Smith
@ejsmith
huh???
Blake Niemyjski
@niemyjski
    public async Task<IDictionary<string, CacheValue<T>>> GetAllAsync<T>(IEnumerable<string> keys) {
        var scopedDictionary = await UnscopedCache.GetAllAsync<T>(GetScopedCacheKeys(keys)).AnyContext();
        return scopedDictionary.ToDictionary(kvp => UnscopeCacheKey(kvp.Key), kvp => kvp.Value);
    }
Eric J. Smith
@ejsmith
ohhh
the getall method
Blake Niemyjski
@niemyjski
hmm
Eric J. Smith
@ejsmith
you really think someone is calling that with that many items?
Blake Niemyjski
@niemyjski
eh by default it’s all keys
Eric J. Smith
@ejsmith
pretty sure the default size will cover it.
Blake Niemyjski
@niemyjski
but the ToDictionary doesn’t set it so I guess when someone hits that issue we’ll fix it
I think it starts really low
like 4, and then resizes by a base 2
if I remember correctly
doubles every resize
Blake Niemyjski
@niemyjski
build just failed and I was looking at the logs
I just noticed the last version of grunt was released in 2014
Jamie Clarke
@jamie94bc
good call @niemyjski