Commit Graph

2016 Commits

Author SHA1 Message Date
sezgi
b26e023483
docs: docs for remote joins (close #4911) (#5132) 2020-07-07 14:47:42 -07:00
Marion Schleifer
d775d94fc4
community: update readme with hasura cloud (#5307) 2020-07-07 14:52:56 +02:00
Marion Schleifer
41ba54437a
docs: change heroku one click url (#5314) 2020-07-07 17:13:59 +05:30
Aleksandra Sikora
4637de42e8
console: add statement timeout for data browser count query (#5313) 2020-07-07 15:56:15 +05:30
sezgi
c33d1a0211
docs: fix duplicate label warning (fix #5260) (#5261) 2020-07-07 13:06:15 +05:30
Marion Schleifer
ee6ea40ee8
docs: fix indexing issue (#5282) 2020-07-07 12:53:37 +05:30
Brandon Simmons
6d235be29c Add --disable-delayed-os-memory-return to default rtsopts
https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/runtime_control.html#rts-flag---disable-delayed-os-memory-return

Referencing canonical memory issue #3388

This is a bit of a mystery. It didn't seem to have any effect in early
repros we had. But now, running an introspection query benchmark I see:

  Running 400 concurrent connections:
    before this change: max residency ~450M
    after: ~140M
    No difference in latency was observed.

  ...BUT: if I give graphql-engine a warmup of 10 requests with 1
  connection (i.e. no concurrency): I see both have a max residency of
  ~140M (i.e. the flag doesn't help)

  ...also interestingly: a single warmup request doesn't seem to have
  any effect (ending RES is still high), 2 requests gets max RES down to
  ~180M.

I suspect many concurrent connections are spraying pinned data over a
bunch of blocks which are then not released to the OS barring memory
pressure. Whatever this is is maybe thread-local or "per-capability" in
some sense...
2020-07-06 11:54:18 -04:00
Matthew Adams
eba8ca360e
community: clarify vuejs-auth0-graphql readme (#4383) 2020-07-06 11:55:37 +02:00
Aleksandra Sikora
5d35f564e9
console: fix creating migrations from Raw SQL page (close #5296) (#5308) 2020-07-06 13:49:16 +05:30
Brandon Simmons
5cd30e073a
Disable downgrade test for now. Closes #5273 (#5291) 2020-07-06 10:08:26 +05:30
Aravind
7ae3e55a88
tag release v1.3.0-beta.4 (#5281) 2020-07-04 10:15:37 +05:30
Arpit Kushwaha
b94278e1c6
update links in README (#5283) 2020-07-03 16:34:54 +05:30
Rakesh Emmadi
2fe353a294
allow array relation connection fields regardless of aggregation permission & change relay endpoint to '/v1beta1/relay' (fix #5218) (#5257)
* fix error when array relation connections are queried, fix #5218

* change relay endpoint to '/v1beta1/relay'

* Update CHANGELOG.md

Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-07-03 12:00:35 +05:30
Aravind
cd0e2ec8e8
cli: fix permission issues when creating symlinks on windows, misc fix (close #5111, close #4879) (#5164) 2020-07-03 09:49:09 +05:30
Karthikeyan Chinnakonda
9ef6de5113
server: include additional fields in scheduled trigger webhook payload (#5262)
* include scheduled triggers metadata in the webhook body

Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-07-03 06:25:07 +05:30
Brandon Simmons
9e423a3c55 Fix buggy parsing of new --conn-lifetime flag in 2b0e3774 2020-07-02 13:27:46 -04:00
Karthikeyan Chinnakonda
97b1155bf8
server: unlock scheduled events on graceful shutdown (#4928) 2020-07-02 17:27:09 +05:30
Aleksandra Sikora
53a40bc2be
console: handle generated and identity columns in console data section (close #4552, #4863) (#4761) 2020-07-02 14:32:34 +05:30
Sameer Kolhar
6cd9eb282a
console: add button to cancel one-off scheduled events and cron-trigger events (close #5161) (#5236) 2020-07-02 13:57:53 +05:30
Akash Verma
636dc6299f
community: fixed typo in event-triggers boilerplate (#5222) 2020-07-02 09:53:44 +02:00
Aleksandra Sikora
af452de754
console: support tracking partitioned tables (close #5071) (#5258) 2020-07-02 13:14:27 +05:30
Vamshi Surabhi
9ccbd1c0f6
bump pg-client-hs version (fixes a build issue on some environments) (#5267) 2020-07-02 12:11:08 +05:30
Vamshi Surabhi
d464208515
Merge pull request #5255 from 0x777/issue-2012-mutations-no-prepared-statements
do not use prepared statements for mutations, close #2012
2020-07-02 10:50:25 +05:30
Vamshi Surabhi
cfffade115 do not use prepared statements for mutations 2020-07-02 10:48:35 +05:30
Anuj Shah
a78f17b79c
console: add code exporter to graphiql (close #4531) (#4652) 2020-07-01 23:16:09 +02:00
Gokul
b9918e0eac
console: allow configuring statement timeout on console RawSQL page (close #4998) (#5045) 2020-07-01 22:06:24 +02:00
sezgi
c4da0a70c5
docs: docs for scheduled triggers (close #4913) (#5141)
Co-authored-by: Marion Schleifer <marion@hasura.io>
2020-07-01 08:44:21 -07:00
Nuno Pato
2daa2c8d57
docs: add Nhost one-click deployment to deployment guides (#5180) 2020-07-01 15:23:40 +02:00
Marion Schleifer
1eac5983a6
docs: remove product expert button (#5232) 2020-07-01 14:27:30 +02:00
Marion Schleifer
53ef491b6d
docs: update getting started with hasura cloud (close #5206) (#5208) 2020-07-01 14:23:29 +02:00
soorajshankar
ab311cd9f1
console: add eslint-plugin-react-hooks (#5219) 2020-07-01 12:22:09 +02:00
John Duong
6fe0b748e2
community: fix DATA_API_URL for Heroku in console README (#5069) 2020-07-01 09:54:00 +02:00
Marion Schleifer
a6e50d5251
docs: fix error in actions api docs (#5235) 2020-07-01 08:46:53 +02:00
Brandon Simmons
2b0e3774a3
5087 libpq pool leak (#5089)
Shrink libpq buffers to 1MB before returning connection to pool. Closes #5087

See: https://github.com/hasura/pg-client-hs/pull/19

Also related: #3388 #4077
2020-07-01 09:23:10 +05:30
sezgi
bc234b04e7
contrib: link to fork-and-branch git workflow guide (close #5225) (#5226) 2020-06-30 16:31:53 +05:30
Auke Booij
bc3d735bf3
server/docs: add instructions to fix loss of float precision in PostgreSQL <= 11 (#5187)
This adds a server flag, --pg-connection-options, that can be used to set a PostgreSQL connection parameter, extra_float_digits, that needs to be used to avoid loss of data on older versions of PostgreSQL, which have odd default behavior when returning float values. (fixes #5092)
2020-06-30 10:39:25 +02:00
Tirumarai Selvan
4de8f912bb
docs: add section for managed databases and related perms (close #1677, close #3783) (#5228) 2020-06-29 18:58:03 +05:30
Marion Schleifer
1ff660d7d6
docs: clarify unauthenticated access configuration (close #2528) (#5217) 2020-06-29 18:20:06 +05:30
Brandon Simmons
93104e616f
Merge pull request #5214 from jberryman/5190-improve-websockets-idle-memory-v2-only-kc8
Lower stack chunk size in RTS to reduce thread STACK memory (closes #5190)
2020-06-26 18:24:53 -04:00
Brandon Simmons
1dbe5cd1ab
Merge branch 'master' into 5190-improve-websockets-idle-memory-v2-only-kc8 2020-06-26 15:02:49 -04:00
surendran82
6c689992ae
docs: remove hasura con banner (#5213) 2020-06-26 13:59:41 +05:30
Aravind
a8cc3605b9
tag release v1.3.0-beta.3 (#5207) 2020-06-26 06:58:01 +05:30
Brandon Simmons
f9b5b8382c Lower stack chunk size in RTS to reduce thread STACK memory (closes #5190)
This reduces memory consumption for new idle subscriptions significantly
(see linked ticket).

The hypothesis is: we fork a lot of threads per websocket, and some of
these use slightly more than the initial 1K stack size, so the first
overflow balloons to 32K, when significantly less is required.

However: running with `+RTS -K1K -xc` did not seem to show evidence of
any overflows! So it's a mystery why this improves things.

GHC should probably also be doubling the stack buffer at each overflow
or doing something even smarter; the knobs we have aren't so helpful.
2020-06-25 14:42:51 -04:00
Darío Javier Cravero
f6d111ccd9
cli: allow setting the release to get in cli/get.sh (#4348) 2020-06-25 17:56:53 +02:00
Valentin Cocaud
6d0518bc72
community: update CONTRIBUTING french translation (#4996) 2020-06-25 11:51:21 +02:00
Sameer Kolhar
f8b58ea698
console: fix styling of table row content on relationship page (close #4974) (#4979) 2020-06-25 10:13:37 +02:00
Aravind Shankar
8092e04838
tag release v1.3.0-beta.2 (#5121) 2020-06-25 11:54:16 +05:30
Rakesh Emmadi
8b49f472a2
fix postgres query error for object relationship with permission limit, fix #5148 (#5177)
Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-06-25 09:03:37 +05:30
Marion Schleifer
fa45bb299a
docs: add "supported from" note to relay docs (#5201) 2020-06-24 20:23:48 +02:00
Marion Schleifer
527530704d
docs/console: clarify usage of "query" vs "request" , change allowed queries to allow list (close #4053) (#5182) 2020-06-24 23:00:08 +05:30